amazon-cloudwatch-agent icon indicating copy to clipboard operation
amazon-cloudwatch-agent copied to clipboard

Add check for prometheus cluster name

Open musa-asad opened this issue 9 months ago • 3 comments

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.

  1. Run make fmt and make fmt-sh
  2. Run make lint

musa-asad avatar Apr 24 '25 15:04 musa-asad

This PR was marked stale due to lack of activity.

github-actions[bot] avatar May 06 '25 00:05 github-actions[bot]

This PR was marked stale due to lack of activity.

github-actions[bot] avatar Jun 21 '25 00:06 github-actions[bot]

This PR was marked stale due to lack of activity.

github-actions[bot] avatar Dec 05 '25 00:12 github-actions[bot]