UNPKG

@opentelemetry/instrumentation-socket.io

Version:

OpenTelemetry instrumentation for `socket.io` messaging server implementation for Socket.IO communication

11 lines 557 B
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; import { SocketIoInstrumentationConfig } from './types'; export declare class SocketIoInstrumentation extends InstrumentationBase<SocketIoInstrumentationConfig> { constructor(config?: SocketIoInstrumentationConfig); protected init(): InstrumentationNodeModuleDefinition[]; setConfig(config?: SocketIoInstrumentationConfig): void; private _patchOn; private endSpan; private _patchEmit; } //# sourceMappingURL=socket.io.d.ts.map