Menu
Grafana Cloud

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:

  1. Sign in to Grafana Cloud and navigate to Asserts > Rules > Suppress.

  2. On the Request tab, complete the following fields:

    Field nameDescription
    JobSelect a job. The list of jobs is generated from your environment.
    AssertionSelect the assertion that you are suppressing.
    Request TypeOptional. The category or type of suppression you are creating. For example: inbound, client_connections, logger, and so on.
    Request ContextOptional. Details about the request. For example: the API path, the operation performed, the method called, and so on.
    Other LabelsAny additional alert labels that you want to match on, for example, asserts_severity="warning".
    Rule NameEnter a name for the suppression rule.
  3. Click Add new.

Create a Resource suppression

To create a Resource suppression, complete the following steps:

  1. Sign into Grafana Cloud and click Asserts > Rules > Suppress.

  2. On the Resource tab, complete the following fields:

    Field nameDescription
    AssertionSelect the assertion you are suppressing.
    Resource TypeOptional. The category or type of suppression you are creating. For example: inbound, client_connections, logger, and so on.
    ContainerOptional. The name of the container using the resource.
    SourceThe source of the metrics for the resource. This could be any exporter or framework serving up resource metrics.
    SeverityThe severity of the alert, for example warning or critical.
    Other LabelsAny additional alert labels that you want to match on, for example, asserts_env="prod".
    Rule NameEnter a name for the suppression rule.
  3. Click Add new.

Create a Health suppression

To create a Health suppression, complete the following steps:

  1. Sign into Grafana Cloud and click Asserts > Rules > Suppress.

  2. On the Health tab, complete the following fields:

    Field nameDescription
    GroupPrometheus rules are organized into rule groups.
    RulesSelect a rule from the rule group.
    EnvSelect the environment for which this suppression is relevant.
    Other LabelsAny additional alert labels that you want to match on, for example, asserts_severity="warning".
    Rule NameEnter a name for the suppression rule.
  3. Click Add new.