@grow-codes/signoz - v0.1.1
    Preparing search index...

    Interface SignozLogClientOptions

    interface SignozLogClientOptions {
        batch?: BatchOptions;
        endpoint?: string;
        environment?: string;
        headers?: Record<string, string>;
        minSeverity?: Severity;
        now?: () => Date;
        protocol?: OtlpProtocol;
        redaction?: false | RedactionOptions | RedactionProcessor;
        resource?: Attributes;
        serviceName?: string;
        serviceVersion?: string;
    }

    Hierarchy (View Summary)

    Index
    batch?: BatchOptions

    Batching behaviour.

    endpoint?: string

    Collector endpoint (default: the config's otlpEndpoint).

    environment?: string

    deployment.environment resource attribute.

    headers?: Record<string, string>

    Extra export headers.

    minSeverity?: Severity

    Default minimum severity of loggers created by BatchingLogClient.logger.

    now?: () => Date

    Clock used for missing timestamps (tests).

    protocol?: OtlpProtocol

    OTLP protocol (default: the config's otlpProtocol).

    redaction?: false | RedactionOptions | RedactionProcessor

    Redaction applied before records are queued; false disables it (not recommended).

    resource?: Attributes

    Resource attributes added to every record (service.name, deployment.environment, …).

    serviceName?: string

    service.name resource attribute (default unknown_service).

    serviceVersion?: string

    service.version resource attribute.