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

    Class LokiConfig

    Immutable configuration of LokiClient.

    Implements

    Index
    allowedLabels?: readonly string[]

    Configured cardinality guard allowlist (undefined = DEFAULT_ALLOWED_LABELS).

    bearerToken?: Secret

    Bearer token.

    connectTimeoutMs: number
    disableLabelGuard: boolean

    Whether push skips the cardinality guard.

    headers: Readonly<Record<string, string>>
    hooks?: Hooks
    logger?: ClientLogger
    multiTenantQueries: boolean

    Whether tenant ids joined with | are allowed.

    password?: Secret

    Basic-auth password.

    proxy?: string
    requestTimeoutMs: number
    tenantId?: string

    Tenant (X-Scope-OrgID); not sent when unset.

    tls: Readonly<TlsOptions>
    totalTimeoutMs: number
    url: string
    userAgentSuffix?: string
    username?: string

    Basic-auth user.

    DEFAULT_URL: string = ...

    Default endpoint.

    ENV_PREFIX: "GROW_GRAFANA_LOKI_"

    Prefix of every environment variable.

    • The Authorization header value, when credentials are configured.

      Returns string | undefined

    • Credential values to redact from error messages and logs.

      Returns string[]

    • Debug form with every credential redacted.

      Returns Record<string, unknown>

    • Returns a string representation of an object.

      Returns string