UNPKG

@uphold/opentelemetry-instrumentation-connect-node

Version:

OpenTelemetry instrumentation for `@connectrpc/connect-node` RPC client and server

6 lines 555 B
import { ConnectNodeInstrumentationConfig } from './types'; import { DiagLogger, Tracer } from '@opentelemetry/api'; import { InterceptorAnyFn } from './internal-types'; export declare const createClientInterceptor: (config: ConnectNodeInstrumentationConfig, diag: DiagLogger, tracer: Tracer) => (next: InterceptorAnyFn) => InterceptorAnyFn; export declare const createServerInterceptor: (config: ConnectNodeInstrumentationConfig, diag: DiagLogger, tracer: Tracer) => (next: InterceptorAnyFn) => InterceptorAnyFn; //# sourceMappingURL=interceptor.d.ts.map