[CC-1328] Custom cookbooks for monitoring/alerting of EC2 credit balances #384
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of your patch
Add a custom cookbook which sets up monitoring and alerting for EC2 CPU credits and IOPS burst credits for all attached EBS volumes.
Recommended Release Notes
See "Description of your patch"
Estimated risk
Medium. It is a custom cookbook and therefore not included by default. However, when included, it touches the core collectd configuration which is a core component.
Components involved
collectd, python3 (requests, boto3),
/engineyard/bin
Description of testing done
Booted an environment with the custom cookbooks uploaded.
Checked if the environment works.
Checked if the metrics get reported.
QA Instructions
Test with different cluster configurations and instance types.
Test with load testing tools (cpu and disk) and check if alerts are triggered and reported properly.
Test upload of custom chef for existing environments.