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

    Interface JaegerInitTracingOptions

    Options of initTracing.

    interface JaegerInitTracingOptions {
        defaults?: Partial<TracingConfig>;
        env?: false | Readonly<Record<string, string | undefined>>;
        idGenerator?: IdGenerator;
        propagators?: Record<string, () => TextMapPropagator>;
        sampler?: Sampler;
        samplerConfig?: JaegerConfigOptions;
        spanProcessors?: SpanProcessor[];
    }

    Hierarchy (View Summary)

    Index
    defaults?: Partial<TracingConfig>

    Service defaults: endpoint, protocol, headers, …

    env?: false | Readonly<Record<string, string | undefined>>

    Environment used beneath the explicit config (see tracingConfigFromEnv); default process.env, false ignores the environment.

    idGenerator?: IdGenerator

    Custom id generator (tests).

    propagators?: Record<string, () => TextMapPropagator>

    Extra propagators the service package supports, by name (e.g. datadog).

    sampler?: Sampler

    Sampler that replaces the one built from config.sampler/samplerRatio (e.g. a remote sampler such as Jaeger's). config.sampler is still validated and reported in toString().

    samplerConfig?: JaegerConfigOptions

    Settings of a remote sampler that initTracing creates (samplingUrl, token, TLS, …). Default: JaegerConfig.fromEnv over the same environment (GROW_JAEGER_SAMPLING_URL, JAEGER_SAMPLING_ENDPOINT); JaegerClient.initTracing passes the client's config.

    spanProcessors?: SpanProcessor[]

    Extra span processors added after the batch processor.