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.

10 lines 696 B
import { Span } from '@opentelemetry/api'; import { BunyanInstrumentation } from '@opentelemetry/instrumentation-bunyan'; import { WinstonInstrumentation } from '@opentelemetry/instrumentation-winston'; import { PinoInstrumentation } from '@opentelemetry/instrumentation-pino'; type LogRecord = Record<string, any>; export declare const defaultLogHook: (span: Span, record: LogRecord) => void; export declare function configureLogInjection(instrumentation: WinstonInstrumentation | BunyanInstrumentation | PinoInstrumentation): void; export declare function disableLogSending(instrumentation: WinstonInstrumentation | BunyanInstrumentation): void; export {}; //# sourceMappingURL=logging.d.ts.map