Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
24 lines
1007 B
Plaintext
24 lines
1007 B
Plaintext
import { MongooseInstrumentationConfig } from './types';
|
|
import { InstrumentationBase, InstrumentationModuleDefinition } from '@opentelemetry/instrumentation';
|
|
export declare const _STORED_PARENT_SPAN: unique symbol;
|
|
export declare const _ALREADY_INSTRUMENTED: unique symbol;
|
|
export declare class MongooseInstrumentation extends InstrumentationBase<MongooseInstrumentationConfig> {
|
|
private _netSemconvStability;
|
|
private _dbSemconvStability;
|
|
constructor(config?: MongooseInstrumentationConfig);
|
|
private _setSemconvStabilityFromEnv;
|
|
protected init(): InstrumentationModuleDefinition;
|
|
private patch;
|
|
private unpatch;
|
|
private patchAggregateExec;
|
|
private patchQueryExec;
|
|
private patchOnModelMethods;
|
|
private _patchDocumentUpdateMethods;
|
|
private patchModelStatic;
|
|
private patchModelAggregate;
|
|
private patchAndCaptureSpanContext;
|
|
private _startSpan;
|
|
private _handleResponse;
|
|
private _callOriginalFunction;
|
|
}
|
|
//# sourceMappingURL=mongoose.d.ts.map |