-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cloudwatch metrics does not limit nr. of MetricDatums to 20 per call #529
Comments
Good find. Thanks for this. |
Would it suffice if I add checks for that in |
I'm not sure if a panic would be ideal in this situation. We should be able to split it into a max of 20 datums and spread it to multiple api requests. |
Sounds good. Can I have the honor of submitting a PR for this, or you prefer to tackle it yourself? :) |
Go for it! Happy to share. I would suggest making an option |
Issue #529: Partition API requests to CloudWatch into separate concur…
@peterbourgon I believe we can probably close this off now? |
Jawohl. |
According to the AWS Docs, a max of 20 metricdatums can be sent in an API request.
So this code should respect that.
I might get to fixing this myself, but not today...
The text was updated successfully, but these errors were encountered: