OpenTelemetry SDK
    Preparing search index...

    Information to make a sampling decision.

    type SamplingIntent = {
        attributes?: Attributes;
        threshold: bigint;
        thresholdReliable: boolean;
        updateTraceState?: (ts: TraceState | undefined) => TraceState | undefined;
    }
    Index
    attributes?: Attributes

    Any attributes to add to the span for the sampling result.

    threshold: bigint

    The sampling threshold value. A lower threshold increases the likelihood of sampling.

    thresholdReliable: boolean

    Whether the threshold can be reliably used for Span-to-Metrics estimation.

    updateTraceState?: (ts: TraceState | undefined) => TraceState | undefined

    How to update the TraceState for the span.