UNPKG

opentelemetry-instrumentation-typeorm

Version:

open telemetry instrumentation for the `typeorm` module

13 lines 589 B
import { TypeormInstrumentationConfig } from './types'; import { InstrumentationBase, InstrumentationModuleDefinition } from '@opentelemetry/instrumentation'; export declare class TypeormInstrumentation extends InstrumentationBase { protected _config: TypeormInstrumentationConfig; constructor(config?: TypeormInstrumentationConfig); protected init(): InstrumentationModuleDefinition; private _patchEntityManagerFunction; private _patchQueryBuilder; private getOperationName; private _patchRawQuery; private _endSpan; } //# sourceMappingURL=typeorm.d.ts.map