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

Open
opened 2026-03-07 21:30:23 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/docker/awesome-compose/pull/571

State: open
Merged: No


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.

**Original Pull Request:** https://github.com/docker/awesome-compose/pull/571 **State:** open **Merged:** No --- **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.
GiteaMirror added the pull-request label 2026-03-07 21:30:23 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#1168