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
25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
|
|
import { KafkaJsInstrumentationConfig } from './types';
|
|
export declare class KafkaJsInstrumentation extends InstrumentationBase<KafkaJsInstrumentationConfig> {
|
|
private _clientDuration;
|
|
private _sentMessages;
|
|
private _consumedMessages;
|
|
private _processDuration;
|
|
constructor(config?: KafkaJsInstrumentationConfig);
|
|
_updateMetricInstruments(): void;
|
|
protected init(): InstrumentationNodeModuleDefinition;
|
|
private _getConsumerPatch;
|
|
private _setKafkaEventListeners;
|
|
private _recordClientDurationMetric;
|
|
private _getProducerPatch;
|
|
private _getConsumerRunPatch;
|
|
private _getConsumerEachMessagePatch;
|
|
private _getConsumerEachBatchPatch;
|
|
private _getProducerTransactionPatch;
|
|
private _getSendBatchPatch;
|
|
private _getSendPatch;
|
|
private _endSpansOnPromise;
|
|
private _startConsumerSpan;
|
|
private _startProducerSpan;
|
|
}
|
|
//# sourceMappingURL=instrumentation.d.ts.map |