Closed
Description
Use case
Original issue in TypeScript: aws-powertools/powertools-lambda-typescript#3350
When a user adds multiple values to a single dimension before flushing metrics, only the last value set on the dimension wins.
Solution/User Experience
It would be nice if the metrics object would do a warnings.warning
when multiple distinct values are used on a single dimension before flushing. Current behavior uses the last value added to the dimension.
Alternative solutions
Acknowledgment
- This feature request meets Powertools for AWS Lambda (Python) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Shipped