@grow-codes/jaeger - v0.1.1
    Preparing search index...

    Interface JaegerRemoteSamplerOptions

    Options of JaegerRemoteSampler.

    interface JaegerRemoteSamplerOptions {
        autoStart?: boolean;
        config?: JaegerConfigOptions;
        initialSamplingRate?: number;
        onError?: (error: unknown) => void;
        onUpdate?: (strategy: JaegerSamplingStrategy) => void;
        pollIntervalMs?: number;
        samplingUrl?: string;
        serviceName: string;
    }
    Index
    autoStart?: boolean

    Start polling at once (first fetch immediately). Default true.

    Transport settings (timeouts, retry, TLS, proxy, headers, token).

    initialSamplingRate?: number

    Probabilistic rate used until the first strategy arrives. Default 0.001.

    onError?: (error: unknown) => void

    Called when a poll fails; the last good strategy stays in use.

    onUpdate?: (strategy: JaegerSamplingStrategy) => void

    Called after each successful poll.

    pollIntervalMs?: number

    Poll interval in ms. Default 60000.

    samplingUrl?: string

    Sampling endpoint. Default: config.samplingUrl (http://127.0.0.1:5778/sampling).

    serviceName: string

    Service whose strategy is fetched (?service=). Required.