@opentelemetry/instrumentation-aws-sdk
Version:
OpenTelemetry instrumentation for `aws-sdk` and `@aws-sdk/client-*` clients for various AWS services
25 lines • 1.21 kB
TypeScript
import { AwsSdkInstrumentationConfig } from './types';
import { InstrumentationBase, InstrumentationModuleDefinition } from '@opentelemetry/instrumentation';
export declare class AwsInstrumentation extends InstrumentationBase<AwsSdkInstrumentationConfig> {
static readonly component = "aws-sdk";
private servicesExtensions;
private _semconvStability;
constructor(config?: AwsSdkInstrumentationConfig);
protected init(): InstrumentationModuleDefinition[];
protected patchV3ConstructStack(moduleExports: any, moduleVersion?: string): any;
protected unpatchV3ConstructStack(moduleExports: any): any;
protected patchV3SmithyClient(moduleExports: any): any;
protected unpatchV3SmithyClient(moduleExports: any): any;
private _startAwsV3Span;
private _callUserPreRequestHook;
private _callUserResponseHook;
private _callUserExceptionResponseHook;
private _getV3ConstructStackPatch;
private _getV3SmithyClientSendPatch;
private patchV3MiddlewareStack;
private _getV3MiddlewareStackClonePatch;
private _getV3MiddlewareStackResolvePatch;
private _callOriginalFunction;
_updateMetricInstruments(): void;
}
//# sourceMappingURL=aws-sdk.d.ts.map