Skip to main content

sampler_description

Function sampler_description 

Source
pub(super) fn sampler_description(sample_percent: Option<u8>) -> String
Expand description

Returns the sampler Zebra uses, as the OpenTelemetry SDK describes it.

A configured percentage replaces the sampler in the standard environment variables.