Alerts route to the default receiver even though a team route exists
IntermediateTroubleshootingAlerting and Alertmanager
Answer
Likely causes → Route order: an earlier sibling route matches first and has continue: false (default), or the team label is missing on the alert.
Diagnose →
amtool config routes show --config.file=alertmanager.yml
amtool config routes test --config.file=alertmanager.yml --verify.receivers=payments-slack team=payments severity=critical
Fix → Reorder routes (specific first), add missing team labels to rules, use continue: true where an alert should reach multiple receivers.
Prevent → Keep route tests in CI.
More on Alerting and Alertmanager
An alert shows `Pending` in Prometheus but never goes to `Firing`BeginnerAn alert is `Firing` in Prometheus but nothing reaches AlertmanagerIntermediateAlertmanager shows the alert but Slack receives nothingBeginnerAlertmanager logs `notify retry canceled due to unrecoverable error after 1 attempts: channel_not_found`IntermediateAlertmanager logs `unexpected status code 404: no_service` / `invalid_token` for SlackBeginnerAlertmanager fails to load config: `yaml: unmarshal errors: field matchers not found in type config.plain`Intermediate