[PR #554] Update prometheus.yml to api_version: v2 #1155

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

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

State: open
Merged: No


Resolved error at runtime expecting v2 but getting v1:

level=ERROR source=main.go:593 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"

**Original Pull Request:** https://github.com/docker/awesome-compose/pull/554 **State:** open **Merged:** No --- Resolved error at runtime expecting v2 but getting v1: `level=ERROR source=main.go:593 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"`
GiteaMirror added the pull-request label 2026-03-07 21:30:13 -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#1155