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

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

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

State: open
Merged: No


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.

**Original Pull Request:** https://github.com/docker/awesome-compose/pull/530 **State:** open **Merged:** No --- 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.
GiteaMirror added the pull-request label 2026-03-07 21:30:03 -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#1138