Skip to content

Commit

Permalink
Define default value for traceid ratio. (#1322)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Agrawal authored Jan 11, 2021
1 parent 63251ff commit 54e3672
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ Updates:
([#1269](/~https://github.com/open-telemetry/opentelemetry-specification/pull/1269))
- Add requirement that the SDK allow custom generation of Trace IDs and Span IDs
([#1006](/~https://github.com/open-telemetry/opentelemetry-specification/pull/1006))
- Add default ratio when TraceIdRatioSampler is specified by environment variable but
no ratio is.
([#1322](/~https://github.com/open-telemetry/opentelemetry-specification/pull/1322))

## v0.7.0 (11-18-2020)

Expand Down
2 changes: 1 addition & 1 deletion specification/sdk-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Known values for `OTEL_TRACE_SAMPLER` are:

Depending on the value of `OTEL_TRACE_SAMPLER`, `OTEL_TRACE_SAMPLER_ARG` may be set as follows:

- For `traceidratio` and `parentbased_traceidratio` samplers: Sampling probability, a number in the [0..1] range, e.g. "0.25".
- For `traceidratio` and `parentbased_traceidratio` samplers: Sampling probability, a number in the [0..1] range, e.g. "0.25". Default is 1.0 if unset.

## Batch Span Processor

Expand Down

0 comments on commit 54e3672

Please sign in to comment.