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

    Interface CollectorInitTracingOptions

    Options of initTracing.

    interface CollectorInitTracingOptions {
        collector?: OtelCollectorConfigOptions | OtelCollectorConfig;
        env?: false | Readonly<Record<string, string | undefined>>;
        idGenerator?: IdGenerator;
        propagators?: Record<string, () => TextMapPropagator>;
        sampler?: Sampler;
        spanProcessors?: SpanProcessor[];
    }

    Hierarchy

    Index

    Collector settings that supply every field the tracing config leaves unset (endpoint, protocol, headers, compression, TLS, sampler, resource, batch). Default: OtelCollectorConfig.fromEnv({}, env).

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

    Environment for the default collector config; 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().

    spanProcessors?: SpanProcessor[]

    Extra span processors added after the batch processor.