Setu-TS
    Preparing search index...

    Interface TraceSamplerDescription

    The configured sampler as the batch reports it (M98g).

    kind is 'always-on' when the provider samples every trace, and 'traceidratio' with the configured ratio when ratio sampling is set — matching what the built-in provider actually constructs. unknown marks the modes where no sampler applies (no provider, custom host, or no telemetry plugin at all).

    0.8.0

    interface TraceSamplerDescription {
        kind: "unknown" | "always-on" | "traceidratio";
        ratio?: number;
    }
    Index
    kind: "unknown" | "always-on" | "traceidratio"

    Which sampler the provider was built with, or unknown.

    ratio?: number

    The configured ratio, present exactly when kind is 'traceidratio'.