Trace Id Ratio Based Sampler config (proto)

This extension has the qualified name envoy.tracers.opentelemetry.samplers.trace_id_ratio_based

Note

This extension is work-in-progress. Functionality is incomplete and it is not intended for production use.

This extension has an unknown security posture and should only be used in deployments where both the downstream and upstream are trusted.

Tip

This extension extends and can be used with the following extension category:

This extension must be configured with one of the following type URLs:

Configuration for the “TraceIdRatioBased” Sampler extension. The sampler follows the “TraceIdRatioBased” implementation from the OpenTelemetry SDK specification.

See: TraceIdRatioBased sampler specification

extensions.tracers.opentelemetry.samplers.v3.TraceIdRatioBasedSamplerConfig

[extensions.tracers.opentelemetry.samplers.v3.TraceIdRatioBasedSamplerConfig proto]

{
  "sampling_percentage": {...}
}
sampling_percentage

(type.v3.FractionalPercent) If the given trace_id falls into a given percentage of all possible trace_id values, ShouldSample will return RECORD_AND_SAMPLE. required