You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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: