@grow-codes/datadog-apm - v0.1.1
    Preparing search index...

    Interface DatadogInitTracingOptions

    Options of initTracing.

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

    Hierarchy (View Summary)

    Index

    Agent/service settings beneath the tracing config: a DatadogApmConfig (used as is) or options merged over the environment.

    defaults?: Partial<TracingConfig>

    Service defaults: endpoint, protocol, headers, …

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

    Environment for DatadogApmConfig.fromEnv; default process.env, false ignores it.

    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.