﻿# Prevent missing equal labels from broadening inhibition

Missing and empty equal labels can let unrelated alerts inhibit each other; verify source/target predicates and the actual inhibitedBy relationship.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-dc-alertmanager-inhibit-equal/
Language: en

A critical site alert unexpectedly suppresses warnings from another site. The inhibition rule lists site as an equal label, yet both alerts omitted that label. Alertmanager treats a missing label and an empty value equivalently for this purpose. Diagnose the actual label contract before assuming the rule established a shared failure domain.

## Identify source and target predicates

An inhibition rule selects source alerts and target alerts through separate matchers. Record the exact predicates and the relevant alert labels. A human description such as upstream failure does not itself create a dependency relationship. The relationship is implemented by matching values, so a producer that changes or omits labels can change suppression without any edit to the inhibition rule.

## Evaluate the equal list

The selected source and target must share values for labels in equal. Missing values do not automatically make matching fail. If the listed equal labels are absent on both sides, the documented rule can apply. Therefore, an intended site boundary may collapse precisely when metadata is incomplete. Treat missing boundary labels as an input-contract issue rather than trusting the rule's descriptive name.

## Keep the two sides distinct

The documentation describes special handling that prevents self-inhibition when an alert matches both sides. It recommends designing source and target matchers so the sets do not overlap. Distinct predicates are easier to reason about than relying on that special case. An alert's severity name alone may be insufficient if a relabeling layer changes or removes the labels expected by the rule.

## Inspect suppression evidence

Use the supported alert API to retain the target's inhibitedBy association and the source identity. Compare the effective labels that reached Alertmanager, not only the original metric labels or a producer's annotations. A missing notification without an inhibition association may have another cause, such as a silence or route decision, and should remain a separate branch of the investigation.

## Check boundary cases offline

Evaluate examples with matching sites, different sites, a missing label and an explicitly empty label. Include an independent warning that should remain eligible. The objective is to verify the scope of dependency suppression without changing live rules or sending notifications. The resulting diagnosis concerns notification policy; it neither proves the upstream fault caused every dependent symptom nor establishes that the suppressed service recovered.

## Primary references

[Alertmanager Routing, Time Intervals and Inhibition](https://prometheus.io/docs/alerting/latest/configuration/).

[Alertmanager Project and amtool Usage](https://github.com/prometheus/alertmanager/blob/main/README.md).

[Alertmanager API v2 Schema](https://github.com/prometheus/alertmanager/blob/main/api/v2/openapi.yaml).

Related reading: [Alerts keep disappearing: for, pending and keep_firing_for](/journal/prometheus-alert-pending-flapping/); [GPU monitoring without excess charts: five observation levels](/journal/gpu-monitoring-scorecard/).
