Skip to content

Commit

Permalink
AlwaysOn should respect sampling threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacd committed Oct 30, 2024
1 parent 0aacc19 commit e6dc409
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion specification/trace/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,8 @@ configure `ParentBased(root=TraceIdRatioBased{probability})`.

* Returns `RECORD_AND_SAMPLE` always.
* Description MUST be `AlwaysOnSampler`.
* OpenTelemetry TraceState SHOULD include `th:0`.
* If the incoming TraceState has a valid OpenTelemetry TraceState `th` sub-key, the the returned TraceState is unmodified.
* If the there is no incoming TraceState or the OpenTelemetry TraceState `th` sub-key is not set, the returned TraceState SHOULD include `th:0`.

#### AlwaysOff

Expand Down

0 comments on commit e6dc409

Please sign in to comment.