@grow-codes/openobserve - v0.1.2
    Preparing search index...

    Class OpenObserveConfig

    Immutable configuration of OpenObserveClient.

    Implements

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

    Organization identifier.

    password?: Secret

    Password of user.

    proxy?: string
    requestTimeoutMs: number
    stream: string

    Default log stream (normalized).

    tls: Readonly<TlsOptions>
    token?: Secret

    Service-account token or pre-encoded Basic … header.

    totalTimeoutMs: number
    tracesStream: string

    Default traces stream (normalized).

    url: string
    user?: string

    Basic-auth user (e-mail).

    userAgentSuffix?: string
    DEFAULT_ORG: "default"

    Default organization.

    DEFAULT_STREAM: "default"

    Default log and traces stream (the server's OTLP default).

    DEFAULT_URL: string = ...

    Default endpoint.

    ENV_PREFIX: "GROW_OPENOBSERVE_"

    Prefix of every environment variable.

    • get hasCredentials(): boolean

      Whether credentials are configured.

      Returns boolean

    • The Authorization header value (Basic …), or undefined without credentials. The result is a credential: never log it.

      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