Skip to content
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

Added CloudWatch metric constraint validation #3183

Merged
merged 1 commit into from
Aug 28, 2017
Merged

Added CloudWatch metric constraint validation #3183

merged 1 commit into from
Aug 28, 2017

Conversation

allingeek
Copy link
Contributor

Added CloudWatch metric constraint validation for float64 numbers. The constraints are detailed here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html. Added relevant links in comments for those otherwise magic numbers.

Also added positive and negative tests for these boundaries.

This change should fix #2523

Signed-off-by: Jeff Nickoloff jeff@allingeek.com

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

Signed-off-by: Jeff Nickoloff <jeff@allingeek.com>
@allingeek
Copy link
Contributor Author

I've been running a build based on these changes in an environment where we always see the issue noted in #2523 for a few hours now and we've not encountered the problem.

@danielnelson danielnelson added this to the 1.4.0 milestone Aug 28, 2017
@danielnelson danielnelson merged commit ac1fa05 into influxdata:master Aug 28, 2017
danielnelson pushed a commit that referenced this pull request Aug 29, 2017
@allingeek
Copy link
Contributor Author

Thanks for the merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cloudwatch output is blocked by metric values close to 0
2 participants