@grow-codes/grafana-tempo - v0.1.1
    Preparing search index...

    Interface TempoTracingConfig

    TracingConfig for Tempo: serviceName may come from the environment; adds tenantId.

    interface TempoTracingConfig {
        batch?: TracingBatchConfig;
        compression?: "none" | "gzip";
        endpoint?: string;
        environment?: string;
        headers?: Record<string, string>;
        propagators?: string[];
        protocol?: TracingProtocol;
        resourceAttributes?: SpanAttributes;
        sampler?: SamplerName;
        samplerRatio?: number;
        serviceName?: string;
        serviceVersion?: string;
        setGlobal?: boolean;
        tenantId?: string;
        tls?: TlsOptions;
    }

    Hierarchy

    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().

    propagators?: string[]

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

    protocol?: TracingProtocol

    Default: the service package's default protocol.

    resourceAttributes?: SpanAttributes
    sampler?: SamplerName

    Default parentbased_always_on.

    samplerRatio?: number

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

    serviceName?: string

    service.name; default OTEL_SERVICE_NAME, then service.name in OTEL_RESOURCE_ATTRIBUTES.

    serviceVersion?: string
    setGlobal?: boolean

    Register the provider, context manager and propagator globally. Default true.

    tenantId?: string

    Tenant sent as X-Scope-OrgID header (HTTP) / x-scope-orgid metadata (gRPC) on export. Default GROW_GRAFANA_TEMPO_TENANT_ID, then TEMPO_TENANT_ID, then GROW_TEMPO_TENANT_ID. A multi-tenant Tempo answers export without a tenant with HTTP 503 / gRPC Unavailable, which the exporter retries until it drops the spans, so set it whenever Tempo runs with multi-tenancy.