Skip to content

Commit

Permalink
Allow samplers to modify tracestate, fix open-telemetry#856
Browse files Browse the repository at this point in the history
  • Loading branch information
Liudmila committed Sep 22, 2020
1 parent 2088381 commit 43bb201
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions specification/trace/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ It produces an output called `SamplingResult` which contains:
* `RECORD_AND_SAMPLE` - `IsRecording() == true` AND `Sampled` flag` MUST be set.
* A set of span Attributes that will also be added to the `Span`. The returned
object must be immutable (multiple calls may return different immutable objects).
* A `Tracestate` that will be assigned to `Span`. If non-empty `Tracestate` was
passed in `SpanContext`, it MUST be populated on the `SamplingResult` even if
tracestate was not changed by sampler.

#### GetDescription

Expand Down

0 comments on commit 43bb201

Please sign in to comment.