Composite alarm policy
Use composite alarm policies to detect performance issues by correlating multiple metrics and triggering an alarm only when all defined conditions are met for a specified duration. A composite alarm policy evaluates a time‑series expression that combines multiple metrics into a single logical condition, applicable to a single instance or across multiple instances. This correlation reduces alert noise and generates a single, contextual alarm that reflects real performance impact.
Each composite alarm policy supports one expression per severity level, with up to 3 severity levels per policy. For multimetric time‑series expressions, all metrics must share system‑identified common labels.
Use composite alarm policies when a single metric does not accurately indicate a real issue, and multiple conditions must occur together to represent performance impact. Composite alarm policies are useful for correlating metrics across different instances and reducing alert noise caused by isolated or short‑lived metric breaches.
Difference between a standard alarm policy and a composite alarm policy
Standard alarm policies evaluate a single metric against a threshold. Composite alarm policies evaluate multiple metrics together, enabling correlation across related components or instances. The following table compares standard and composite alarm policies.
| Standard alarm policy | Composite alarm policy |
|---|---|
| Uses a single metric | Uses multiple metrics |
| Threshold‑based alarm conditions using a single metric value | Time‑series expression‑based alarm conditions using single or multiple metric values |
| Generates multiple separate alarms | Generates one composite alarm |
| Causes higher alert noise | Results in reduced alert noise |
Building composite alarm trigger conditions
Composite alarm conditions are built by combining metrics with logical operators such as and or or, and by correlating metrics across instances by using label joins. This enables administrators to generate an alarm only when thresholds are breached across single or multiple instances simultaneously, resulting in a single, meaningful alarm instead of multiple independent alerts. Each policy includes the following details:
- Severity levels, with one expression and duration per severity:
- Minor
- Major
- Critical,
- A hostname label that identifies the affected entity.
The following image displays the configuration of a composite alarm policy:

While building time-series expressions, use the Show metrics list tab to access predefined metrics. The following video displays how to build a basic time-series expression:
Examples of time series expressions
Validating composite alarm trigger conditions
Before a composite alarm policy is saved, all configured expressions are validated to make sure that the time-series expression is syntactically correct and suitable for evaluation in large environments. During validation, the system performs the following actions:
- Checks the expression syntax
- Verifies required label joins for multi‑metric conditions
- Estimates the number of matching time series
- Identifies common labels to select a host name to generate alarms
If validation fails or raises warnings, you cannot save the policy until the issues are addressed.
Common validation issues
The following table provides some common validation issues with solutions:
| Issue | Solution |
|---|---|
Missing label join in multi‑metric expressions Validation fails if multiple metrics are combined without an explicit on(...) or ignoring(...) clause. | Add a label join to make sure that metrics are correlated for the same entity or instance. |
| Too many matching time series Validation warns or fails when an expression matches an excessive number of series. | Refine the expression by narrowing labels, such as environment, region, application, or instance. |
| No matching series found Validation fails if the expression returns no time series. | Verify metric names, label values, and data availability. |
| Hostname label not available A host name is not detected. | Perform one of the following tasks:
|
| Expression modified after validation | Any change to a validated expression requires revalidation before the policy can be saved. |
Limitations in building composite alarm conditions
Composite alarm policies have the following limitations:
- At least one data point must be available to create a composite alarm policy.
- A maximum of 10 metrics can be added to a single time-series expression.
- The number of matching series per expression must be less than two lakh.
- The alarm closes automatically when the conditions are no longer true.
- No baseline or custom closure options are supported.
- The composite alarm policy cannot automatically identify conflicting thresholds defined in time-series expressions.
Where to go from here
Configuring composite alarm policy
Related topics