Skip to content

Add check for prometheus cluster name #1663

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

musa-asad
Copy link
Contributor

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 musa-asad requested review from lisguo and sky333999 April 24, 2025 15:42
@musa-asad musa-asad self-assigned this Apr 24, 2025
@musa-asad musa-asad requested a review from a team as a code owner April 24, 2025 15:42
Copy link
Contributor

github-actions bot commented May 6, 2025

This PR was marked stale due to lack of activity.

@github-actions github-actions bot added the Stale label May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant