Feature request: Increase maximum number of metrics dimension from 10 to 30 #1044
Labels
completed
This item is complete and has been merged/shipped
feature-request
This item refers to a feature request for an existing or new utility
good-first-issue
Something that is suitable for those who want to start contributing
metrics
This item relates to the Metrics Utility
Summary
Increase maximum number of metrics dimension from 10 to 30
Bug description
CloudWatch Metrics has increase maximum number of dimensions from 10 to 30 ref.
Currently,
metrics
utility throws an error when user try to add more than 10 dimension. This should be updated to 30.Note: Powertools for Python is having the same change in this issue. Note that we DO NOT consider this as breaking change. (See that issue discussion on this)
Expected Behavior
Clients should be able to add up to 30 dimensions before throwing an error.
Current Behavior
Adding more than 10 dimensions will throw an error.
Possible Solution
You can find the relevant code to update in this search.
Required changes are:
MAX_DIMENSION_COUNT
variable from9
to29
Steps to Reproduce
Call
metrics.addDimension()
more then 10 times. See this test case for example.Environment
Related issues, RFCs
The text was updated successfully, but these errors were encountered: