Suppress assertions
Just like notifications, you can also select certain assertions to suppress so they don’t trigger. Suppressed assertions aren’t considered in Asserts processing and won’t be visible in Entity Explorer or RCA workbench. It’s important to note that this is distinct from an assertion that triggers but doesn’t notify.
Create a Request suppression
To create a Request suppression, complete the following steps:
Sign in to Grafana Cloud and navigate to Asserts > Rules > Suppress.
On the Request tab, complete the following fields:
Field name Description Job Select a job. The list of jobs is generated from your environment. Assertion Select the assertion that you are suppressing. Request Type Optional. The category or type of suppression you are creating. For example: inbound
,client_connections
,logger
, and so on.Request Context Optional. Details about the request. For example: the API path, the operation performed, the method called, and so on. Other Labels Any additional alert labels that you want to match on, for example, asserts_severity="warning"
.Rule Name Enter a name for the suppression rule. Click Add new.
Create a Resource suppression
To create a Resource suppression, complete the following steps:
Sign into Grafana Cloud and click Asserts > Rules > Suppress.
On the Resource tab, complete the following fields:
Field name Description Assertion Select the assertion you are suppressing. Resource Type Optional. The category or type of suppression you are creating. For example: inbound
,client_connections
,logger
, and so on.Container Optional. The name of the container using the resource. Source The source of the metrics for the resource. This could be any exporter or framework serving up resource metrics. Severity The severity of the alert, for example warning
orcritical
.Other Labels Any additional alert labels that you want to match on, for example, asserts_env="prod"
.Rule Name Enter a name for the suppression rule. Click Add new.
Create a Health suppression
To create a Health suppression, complete the following steps:
Sign into Grafana Cloud and click Asserts > Rules > Suppress.
On the Health tab, complete the following fields:
Field name Description Group Prometheus rules are organized into rule groups. Rules Select a rule from the rule group. Env Select the environment for which this suppression is relevant. Other Labels Any additional alert labels that you want to match on, for example, asserts_severity="warning"
.Rule Name Enter a name for the suppression rule. Click Add new.