[PR #530] Alertmanager API version fix(prometheus 3) #537

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

📋 Pull Request Information

Original PR: https://github.com/docker/awesome-compose/pull/530
Author: @axxyhtrx
Created: 11/17/2024
Status: 🔄 Open

Base: masterHead: master


📝 Commits (2)

  • 90192cf Update prometheus.yml
  • 4409a8f Merge pull request #1 from axxyhtrx/upAlertManager

📊 Changes

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

View changed files

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

📄 Description

I got an error with that installation:

time=2024-11-17T05:52:03.562Z level=ERROR source=main.go:601 msg="Error loading config (--config.file=/etc/prometheus/prometheus.yml)" file=/etc/prometheus/prometheus.yml err="parsing YAML file /etc/prometheus/prometheus.yml: expected Alertmanager api version to be one of [v2] but got v1"

Fixed by change of alertmanager api to v2.


🔄 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/530 **Author:** [@axxyhtrx](https://github.com/axxyhtrx) **Created:** 11/17/2024 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`90192cf`](https://github.com/docker/awesome-compose/commit/90192cfbe30c3a997fdeb71a6dff85ed7312ad45) Update prometheus.yml - [`4409a8f`](https://github.com/docker/awesome-compose/commit/4409a8f83203e7d7bedf3d8456021ff14aa535c5) Merge pull request #1 from axxyhtrx/upAlertManager ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `prometheus-grafana/prometheus/prometheus.yml` (+2 -2) </details> ### 📄 Description I got an error with that installation: time=2024-11-17T05:52:03.562Z level=ERROR source=main.go:601 msg="Error loading config (--config.file=/etc/prometheus/prometheus.yml)" file=/etc/prometheus/prometheus.yml err="parsing YAML file /etc/prometheus/prometheus.yml: expected Alertmanager api version to be one of [v2] but got v1" Fixed by change of alertmanager api to v2. --- <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:17 -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#537