@aws-lambda-powertools/metrics
Version:
The metrics package for the Powertools for AWS Lambda (TypeScript) library
20 lines • 794 B
TypeScript
import type { ConfigServiceInterface as ConfigServiceBaseInterface } from '@aws-lambda-powertools/commons/types';
/**
* Interface ConfigServiceInterface
*
* @interface
* @see https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime
* @see https://docs.powertools.aws.dev/lambda/typescript/latest/#environment-variables
*/
interface ConfigServiceInterface extends ConfigServiceBaseInterface {
/**
* Get the value of the `POWERTOOLS_METRICS_NAMESPACE` environment variable.
*/
getNamespace(): string;
/**
* Get the value of the `POWERTOOLS_METRICS_FUNCTION_NAME` environment variable.
*/
getFunctionName(): string;
}
export type { ConfigServiceInterface };
//# sourceMappingURL=ConfigServiceInterface.d.ts.map