An inhibition rule should mute service alerts when the database is down, but both alerts arrive.
IntermediateTroubleshootingBurn-Rate Alerts & Alertmanager
Answer
Likely causes → The equal labels are not present (or differ) on both the source and target alert. If equal: [cluster] is set and the service alerts lack a cluster label, inhibition never applies. Matchers may also not match.
Diagnose →
amtool --alertmanager.url=http://localhost:9093 alert query -o extended
Compare labels on PostgresDown and the service alert.
Fix → Ensure both have the equal labels (add external_labels: {cluster: prod} in Prometheus, or relabel), and verify the matchers.
Prevent → Test inhibition with synthetic alerts posted to Alertmanager's API in staging.
More on Burn-Rate Alerts & Alertmanager
The burn-rate alert sits in `Pending` for the whole incident and never reaches `Firing`.IntermediateAfter a rollback fixed the incident, the page kept firing for another 50 minutes.IntermediateCheckout was completely down for 25 minutes and no burn-rate alert fired.AdvancedThe alert shows `Firing` in Prometheus, but Alertmanager's UI shows nothing.BeginnerAlertmanager won't load the new config: `undefined receiver "pager" used in route`.BeginnerAlertmanager logs `Notify for alerts failed` with `unexpected status code 404: no_service` for the Slack receiver.Beginner