Skip to content

Commit

Permalink
Change Sampler.ShouldSample to get full parent Context.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oberon00 committed Aug 26, 2020
1 parent 14b5b6a commit 6cf28c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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
* `Context` with parent `Span`. 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

0 comments on commit 6cf28c8

Please sign in to comment.