Skip to content

⚙️ fix: update Alertmanager API version to v2 in prometheus.yml #571

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 1 commit into
base: master
Choose a base branch
from

Conversation

uzairash
Copy link

Fix: update Alertmanager API version to v2 in prometheus.yml

Updated the api_version field in prometheus.yml from v1 to v2 to resolve a configuration issue that caused Prometheus to fail with the error:

"expected Alertmanager API version to be one of [v2] but got v1".

This change ensures compatibility with the latest Alertmanager version, allowing Prometheus to correctly integrate and process alerts as expected.

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.

1 participant