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

Open
opened 2025-11-06 14:28:56 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/docker/awesome-compose/pull/571
Author: @uzairash
Created: 3/17/2025
Status: 🔄 Open

Base: masterHead: update_prometheus_alert_managers_api_version


📝 Commits (1)

  • 8f7acb6 fix: update Alertmanager API version to v2 in prometheus.yml

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 prometheus-grafana/prometheus/prometheus.yml (+1 -1)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/docker/awesome-compose/pull/571 **Author:** [@uzairash](https://github.com/uzairash) **Created:** 3/17/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `update_prometheus_alert_managers_api_version` --- ### 📝 Commits (1) - [`8f7acb6`](https://github.com/docker/awesome-compose/commit/8f7acb660092e03b6acd9db978e8a098452af0f2) fix: update Alertmanager API version to v2 in prometheus.yml ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `prometheus-grafana/prometheus/prometheus.yml` (+1 -1) </details> ### 📄 Description **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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 14:28:56 -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#567