prometheus config alertmanager error
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 90/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- docker-compose, prometheus
- Domain
- devops, observability
Research direction
Start with prometheus.yml, which is mounted at /etc/prometheus/prometheus.yml when the containers start. Check the Alertmanager api_version setting and run the sample containers to confirm Prometheus starts without the YAML parsing error.
Written by the indexing model from the issue text.
Description
When starting up the containers, prometheus exits with the error:
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
I edited the prometheus.yml and changed api_version from v1 to v2 and that fixed it.
- Dominant language
- HTML
- Stars
- 46.4k
- Forks
- 8.3k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker/awesome-compose
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
docker/awesome-compose#825 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
docker/awesome-compose#767 · 1 comment ·
-
Proposal: Add P2PCLAW Research Lab — Decentralized Scientific Network (14 Agents, Docker Compose) Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
docker/awesome-compose#735 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
docker/awesome-compose#683 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
docker/awesome-compose#329 · 1 reaction ·
All issues in docker/awesome-compose
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
repo:raw-data
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
hotosm/raw-data-api#316 · 1 comment ·
-
agentic-workflows cascade-suspected
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
willow
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openedx/openedx-authz#460 ·