You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`OTEL_TRACES_SAMPLER`| Sampler to be used for traces. See the [General SDK Configuration specification](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration) for more details. |
372
+
|`OTEL_TRACES_SAMPLER_ARG`| String value to be used as the sampler argument. |
373
+
374
+
The supported values for `OTEL_TRACES_SAMPLER` are:
375
+
376
+
*`always_off`
377
+
*`always_on`
378
+
*`traceidratio`
379
+
*`parentbased_always_on`,
380
+
*`parentbased_always_off`
381
+
*`parentbased_traceidratio`
382
+
383
+
The options `traceidratio` and `parentbased_traceidratio` may have the sampler
384
+
probability configured via the `OTEL_TRACES_SAMPLER_ARG` environment variable.
[Event(55,Message="OTEL_TRACES_SAMPLER_ARG configuration was found but the value '{0}' is invalid and will be ignored, default of value of '1.0' will be used.",Level=EventLevel.Warning)]
0 commit comments