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

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

📋 Pull Request Information

Original PR: https://github.com/docker/awesome-compose/pull/554
Author: @scrypt-kitty
Created: 2/13/2025
Status: 🔄 Open

Base: masterHead: master


📝 Commits (1)

  • ef87254 Update prometheus.yml to api_version: v2

📊 Changes

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

View changed files

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

📄 Description

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"


🔄 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/554 **Author:** [@scrypt-kitty](https://github.com/scrypt-kitty) **Created:** 2/13/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`ef87254`](https://github.com/docker/awesome-compose/commit/ef87254b0de5713d95ff462642c68e1b8172d255) Update prometheus.yml to api_version: v2 ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `prometheus-grafana/prometheus/prometheus.yml` (+2 -2) </details> ### 📄 Description 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"` --- <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:39 -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#554