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

    Function tempoTracingConfig

    • Resolves the Tempo tracing settings from explicit values and the environment. Precedence per field: explicit > GROW_GRAFANA_TEMPO_OTLP_* > OTEL_EXPORTER_OTLP_TRACES_* > OTEL_EXPORTER_OTLP_* > default (http/protobuf to http://127.0.0.1:4318, or http://127.0.0.1:4317 for grpc). OTEL_EXPORTER_OTLP_ENDPOINT gets /v1/traces appended for HTTP; OTEL_EXPORTER_OTLP_TRACES_ENDPOINT is used verbatim. Compression follows the same order (…_OTLP_COMPRESSION, gzip or none); the sampler comes from OTEL_TRACES_SAMPLER / OTEL_TRACES_SAMPLER_ARG. The tenant (GROW_GRAFANA_TEMPO_TENANT_ID > TEMPO_TENANT_ID > GROW_TEMPO_TENANT_ID) becomes an X-Scope-OrgID header. Throws ConfigError naming an invalid variable (never its value).

      Parameters

      Returns TracingConfig & { tenantId?: string }