Interview Prep/Monitoring & Observability/Alerting and Alertmanager

Alertmanager fails to load config: `yaml: unmarshal errors: field matchers not found in type config.plain`

IntermediateTroubleshootingAlerting and Alertmanager
Answer

Likely causes → Alertmanager version is older than the config syntax (matchers: arrived in 0.22), or indentation puts it at the wrong level.

Diagnose →

amtool check-config alertmanager.yml
alertmanager --version

Fix → Upgrade Alertmanager or use the old match/match_re form; fix indentation.

Prevent → Run amtool check-config in CI with the same version as production.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alerting and Alertmanager