@grow-codes/opentelemetry-collector - v0.1.1
    Preparing search index...

    Interface TelemetryTracesOptions

    Trace settings of initTelemetry (unset fields come from the collector config).

    interface TelemetryTracesOptions {
        batch?: TracingBatchConfig;
        compression?: "none" | "gzip";
        endpoint?: string;
        environment?: string;
        headers?: Record<string, string>;
        init?: Omit<InitTracingOptions, "defaults">;
        propagators?: string[];
        protocol?: TracingProtocol;
        sampler?: SamplerName;
        samplerRatio?: number;
        serviceVersion?: string;
        tls?: TlsOptions;
    }

    Hierarchy

    • Partial<Omit<TracingConfig, "serviceName" | "setGlobal" | "resourceAttributes">>
      • TelemetryTracesOptions
    Index
    compression?: "none" | "gzip"

    Default gzip.

    endpoint?: string

    Exporter endpoint; the service package supplies the default.

    environment?: string
    headers?: Record<string, string>

    Exporter headers; sensitive values are redacted in toString().

    init?: Omit<InitTracingOptions, "defaults">

    Extra span processors, propagator factories and id generator (template options).

    propagators?: string[]

    Default ["tracecontext", "baggage"]; also b3, b3multi, none and service extras.

    protocol?: TracingProtocol

    Default: the service package's default protocol.

    sampler?: SamplerName

    Default parentbased_always_on.

    samplerRatio?: number

    Ratio for the *traceidratio samplers, 0..1. Default 1.0.

    serviceVersion?: string