OpenTelemetry SDK
    Preparing search index...
    interface OTLPExporterConfigBase {
        concurrencyLimit?: number;
        headers?: Record<string, string> | HeadersFactory;
        selfObsMeterProvider?: MeterProvider;
        timeoutMillis?: number;
        url?: string;
    }

    Hierarchy (View Summary)

    Index
    concurrencyLimit?: number

    Maximum number of in-flight export requests.

    30
    
    headers?: Record<string, string> | HeadersFactory

    Custom headers that will be attached to the HTTP request that's sent to the endpoint.

    Prefer using a plain object over a factory function wherever possible. A factory function may be async and MUST NOT throw errors. It should return a string map containing the headers to add to the request.

    headers: {
    Authorization: "Api-Token my-secret-token",
    }
    headers: async () => {
    return {
    Authorization: `Bearer ${token}`,
    };
    };
    selfObsMeterProvider?: MeterProvider

    MeterProvider to record metrics for the exporter itself. This option is experimental and is subject to breaking changes in minor releases.

    timeoutMillis?: number

    Maximum time, in milliseconds, the OTLP exporter will wait for each batch export.

    10000
    
    url?: string

    Collector endpoint URL for the exporter.

    Defaults to the signal-specific endpoint, such as http://localhost:4318/v1/traces, http://localhost:4318/v1/metrics, or http://localhost:4318/v1/logs.