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.
14 lines • 552 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. undefined if no region can be determined
*/
export declare const getAwsRegionFromEnvironment: () => string | undefined;
//# sourceMappingURL=utils.d.ts.map