Interface OTLPExporterConfig

OTLP exporter configuration.

interface OTLPExporterConfig {
    headers?: Record<string, unknown>;
    socketPath?: string;
    timeoutMillis?: number;
    url?: string;
}

Properties

headers?: Record<string, unknown>
socketPath?: string

Path of a Unix socket to send the export requests to. Node.js only.

timeoutMillis?: number

Maximum time in milliseconds to wait for an export request before aborting it. Defaults to OTEL_EXPORTER_OTLP_TRACES_TIMEOUT, then OTEL_EXPORTER_OTLP_TIMEOUT, then 10000. Values that are not positive finite numbers are ignored in favor of the next source.

url?: string