🏏 450 million fans watched the last IPL. What is 'Cricket Scale' for SREs? Know More

Apr 8th, ‘24/Changelog

Common Rule Filters: Apply PromQL label filter conditions across indicators of an Alert Group

Common Rule Filters for Alert Groups allow users to specify PromQL filter conditions that will get injected into every Indicator that is part of the group.

Common Rule Filters: Apply PromQL label filter conditions across indicators of an Alert Group

Common Rule Filters for Alert Groups allow users to specify PromQL filter conditions that will get injected into every Indicator that is part of the group. Since these filters are injected at the indicator level, they are also honored in the alert evaluations.

A demo for Common Rule Filters

Common Rule Filters can be used when an Alert Group represents some component in your system, and the component is identified by a specific PromQL label filter. For example, if your alert group represents a particular Kubernetes deployment called “login”, the PromQL of every indicator will have deployment="login" in the filters.

Common Rule Filters allow you to specify this condition only once at a group level, instead of adding a label filter for every indicator or alert rule. It is also a good way to show the intent of scope of an alert group. The above deployment filter, when configured as a Common Rule Filter prominently signals that the alert group represents a particular deployment.

💡
Get up and running with Levitate and enhance your monitoring with Change Events.