Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Sampler.ShouldSample parent parameter to be Context #881

Merged
merged 10 commits into from
Oct 20, 2020
6 changes: 3 additions & 3 deletions specification/trace/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ Returns the sampling Decision for a `Span` to be created.

**Required arguments:**

* `SpanContext` of a parent `Span`. Typically extracted from the wire. Can be
Oberon00 marked this conversation as resolved.
Show resolved Hide resolved
`null`.
* [`Context`](../context/context.md) with parent `Span`.
Oberon00 marked this conversation as resolved.
Show resolved Hide resolved
Typically extracted from the wire. Can be `null`.
* `TraceId` of the `Span` to be created. It can be different from the `TraceId`
in the `SpanContext`. Typically in situations when the `Span` to be created
in the `Context`. Typically in situations when the `Span` to be created
starts a new Trace.
* Name of the `Span` to be created.
* `SpanKind`
Expand Down