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
22 lines
800 B
Plaintext
22 lines
800 B
Plaintext
import { InstrumentationBase } from '@opentelemetry/instrumentation';
|
|
import { UndiciInstrumentationConfig } from './types';
|
|
export declare class UndiciInstrumentation extends InstrumentationBase<UndiciInstrumentationConfig> {
|
|
private _channelSubs;
|
|
private _recordFromReq;
|
|
private _httpClientDurationHistogram;
|
|
constructor(config?: UndiciInstrumentationConfig);
|
|
protected init(): undefined;
|
|
disable(): void;
|
|
enable(): void;
|
|
protected _updateMetricInstruments(): void;
|
|
private subscribeToChannel;
|
|
private parseRequestHeaders;
|
|
private onRequestCreated;
|
|
private onRequestHeaders;
|
|
private onResponseHeaders;
|
|
private onDone;
|
|
private onError;
|
|
private recordRequestDuration;
|
|
private getRequestMethod;
|
|
}
|
|
//# sourceMappingURL=undici.d.ts.map |