-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Warn users when adding multiple values to dimension before flushing #5638
Closed
2 tasks done
Labels
Comments
Assigning to @anafalcao |
7 tasks
7 tasks
|
This is now released under 3.4.0 version! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: