enhanced-adot-node-autoinstrumentation
Version:
This package provides Amazon Web Services distribution of the OpenTelemetry Node Instrumentation, which allows for auto-instrumentation of NodeJS applications.
15 lines • 585 B
TypeScript
export declare type Mutable<T> = {
-readonly [P in keyof T]: T[P];
};
export declare const getNodeVersion: () => number;
export declare const isAgentObservabilityEnabled: () => boolean;
/**
* Get AWS region from environment or boto3 session.
* Returns the AWS region in the following priority order:
* 1. AWS_REGION environment variable
* 2. AWS_DEFAULT_REGION environment variable
* 3. boto3 session's region (if boto3 is available)
* 4. None if no region can be determined
*/
export declare const getAwsRegion: () => string | undefined;
//# sourceMappingURL=utils.d.ts.map