You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
VimalN2005 commentedon Sep 19, 2026
Hi @glours @aiordache,
I would like to work on this issue and update the Alertmanager API version from v1 to v2 in
prometheus.yml.Could you please assign this issue to me?