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
20 lines
858 B
Plaintext
20 lines
858 B
Plaintext
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
|
|
import { PgInstrumentationConfig } from './types';
|
|
export declare class PgInstrumentation extends InstrumentationBase<PgInstrumentationConfig> {
|
|
private _operationDuration;
|
|
private _connectionsCount;
|
|
private _connectionPendingRequests;
|
|
private _connectionsCounter;
|
|
private _semconvStability;
|
|
constructor(config?: PgInstrumentationConfig);
|
|
_updateMetricInstruments(): void;
|
|
protected init(): InstrumentationNodeModuleDefinition[];
|
|
private _patchPgClient;
|
|
private _unpatchPgClient;
|
|
private _getClientConnectPatch;
|
|
private recordOperationDuration;
|
|
private _getClientQueryPatch;
|
|
private _setPoolConnectEventListeners;
|
|
private _getPoolConnectPatch;
|
|
}
|
|
//# sourceMappingURL=instrumentation.d.ts.map |