Applies defaults, validates (throws ConfigError) and freezes.
ReadonlyconnectReadonlyheadersOptional ReadonlyhooksOptional ReadonlyloggerOptional ReadonlyproxyReadonlyrequestReadonlyretryOptional ReadonlytenantTenant sent as X-Scope-OrgID, or undefined (no header).
ReadonlytlsOptional ReadonlytokenBearer token for an authenticating proxy (redacted in every string form), or undefined.
ReadonlytotalReadonlyurlOptional ReadonlyuserStatic ReadonlyDEFAULT_Default endpoint of the query API.
Static ReadonlyENV_Prefix of every environment variable.
Credential values to redact from error messages and logs (the proxy token, if any).
Headers added to every query call: the tenant and, when set, Authorization: Bearer.
X-Scope-OrgID when a tenant is set, else {}.
Debug form with every credential redacted.
Returns a string representation of an object.
Throws ConfigError when a setting is invalid.
StaticfromReturns options when it already is a config, otherwise builds one.
StaticfromBuilds a config from the environment. Precedence: explicit overrides >
GROW_GRAFANA_TEMPO_<NAME> > vendor variables (VENDOR_ENV: TEMPO_URL,
TEMPO_TENANT_ID) > the GROW_TEMPO_<NAME> aliases > defaults.
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 throughheaders); both are redacted everywhere.