UNPKG

@splunk/otel

Version:

The Splunk distribution of OpenTelemetry Node Instrumentation provides a Node agent that automatically instruments your Node application to capture and report distributed traces to Splunk APM.

25 lines 1.03 kB
import { HttpDcInstrumentationConfig } from './types'; import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; /** * `node:http` and `node:https` instrumentation for OpenTelemetry */ export declare class HttpDcInstrumentation extends InstrumentationBase<HttpDcInstrumentationConfig> { private _headerCapture; private _semconvStability; constructor(config?: HttpDcInstrumentationConfig); setConfig(config?: HttpDcInstrumentationConfig): void; init(): [InstrumentationNodeModuleDefinition]; private _getHttpInstrumentation; private _getPatchServerEmit; private _httpServerRequestStart; private _httpServerResponseFinished; private _httpClientRequestCreated; private _httpClientRequestError; private _httpClientResponseFinished; private _onServerResponseFinish; private _callResponseHook; private _callRequestHook; private _callStartSpanHook; private _createHeaderCapture; } //# sourceMappingURL=httpdc.d.ts.map