amazon-cloudwatch-agent
amazon-cloudwatch-agent copied to clipboard
Add check for prometheus cluster name
Description of the issue
The cluster name can also be present under the prometheus section for the CloudWatch Agent configuration. If that's present, then we should use that cluster name.
Description of changes
- Add check for prometheus cluster name.
- Add unit tests.
License
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Tests
Unit testing.
Requirements
Before commit the code, please do the following steps.
- Run
make fmtandmake fmt-sh - Run
make lint
This PR was marked stale due to lack of activity.
This PR was marked stale due to lack of activity.
This PR was marked stale due to lack of activity.