@vtex/diagnostics-nodejs
Version:
Diagnostics library for Node.js applications
22 lines • 1.12 kB
TypeScript
export * as Propagation from './propagation';
export * as Middlewares from './middlewares';
export { NetInstrumentation } from '@opentelemetry/instrumentation-net';
export { HttpInstrumentation } from '@opentelemetry/instrumentation-http';
declare function getExpressInstrumentation(): any;
declare function getKoaInstrumentation(): any;
declare function getNestInstrumentation(): any;
export { getExpressInstrumentation as ExpressInstrumentation };
export { getKoaInstrumentation as KoaInstrumentation };
export { getNestInstrumentation as NestInstrumentation };
export { createCompositePropagator, } from './propagation';
import { InstrumentationBase } from '@opentelemetry/instrumentation';
export declare function setupInstrumentations(instrumentations: InstrumentationBase[]): void;
export declare const CommonInstrumentations: {
express: () => InstrumentationBase[];
fastify: () => InstrumentationBase[];
koa: () => InstrumentationBase[];
nestjs: () => InstrumentationBase[];
minimal: () => InstrumentationBase[];
autoDetect: () => InstrumentationBase[];
};
//# sourceMappingURL=index.d.ts.map