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

    Class TempoConfig

    Immutable configuration of TempoClient (query API, port 3200).

    Tempo has no authentication of its own: put an authenticating reverse proxy in front of it and pass its bearer token as token (or other credentials through headers); both are redacted everywhere.

    Implements

    Index
    connectTimeoutMs: number
    headers: Readonly<Record<string, string>>
    hooks?: Hooks
    logger?: ClientLogger
    proxy?: string
    requestTimeoutMs: number
    tenantId?: string

    Tenant sent as X-Scope-OrgID, or undefined (no header).

    tls: Readonly<TlsOptions>
    token?: Secret

    Bearer token for an authenticating proxy (redacted in every string form), or undefined.

    totalTimeoutMs: number
    url: string
    userAgentSuffix?: string
    DEFAULT_URL: string = ...

    Default endpoint of the query API.

    ENV_PREFIX: "GROW_GRAFANA_TEMPO_"

    Prefix of every environment variable.

    • Credential values to redact from error messages and logs (the proxy token, if any).

      Returns string[]

    • Headers added to every query call: the tenant and, when set, Authorization: Bearer.

      Returns Record<string, string>

    • X-Scope-OrgID when a tenant is set, else {}.

      Returns Record<string, string>

    • Debug form with every credential redacted.

      Returns Record<string, unknown>

    • Returns a string representation of an object.

      Returns string