Applies defaults, validates (throws ConfigError) and freezes.
ReadonlyconnectReadonlyheadersOptional ReadonlyhooksOptional ReadonlyloggerReadonlyorgOrganization identifier.
Optional ReadonlypasswordPassword of user.
Optional ReadonlyproxyReadonlyrequestReadonlyretryReadonlystreamDefault log stream (normalized).
ReadonlytlsOptional ReadonlytokenService-account token or pre-encoded Basic … header.
ReadonlytotalReadonlytracesDefault traces stream (normalized).
ReadonlyurlOptional ReadonlyuserBasic-auth user (e-mail).
Optional ReadonlyuserStatic ReadonlyDEFAULT_Default organization.
Static ReadonlyDEFAULT_Default log and traces stream (the server's OTLP default).
Static ReadonlyDEFAULT_Default endpoint.
Static ReadonlyENV_Prefix of every environment variable.
Whether credentials are configured.
The Authorization header value (Basic …), or undefined without credentials. The result
is a credential: never log it.
Credential values to redact from error messages and logs.
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_OPENOBSERVE_<NAME> > OPENOBSERVE_<NAME> (VENDOR_ENV) > defaults.
An explicit password override drops a token from the environment and vice versa, so
overriding the credential kind never trips the "password and token" rule.
Immutable configuration of OpenObserveClient.