Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

Cortex or Loki rule groups and namespaces

A namespace contains one or more groups. The rules within a group are run sequentially at a regular interval. The default interval is one (1) minute. You can rename Cortex or Loki rule namespaces and groups, and edit group evaluation intervals.

Group list

Alert details
Alert details

Rename a namespace

To rename a namespace:

  1. In the Grafana menu, click the Alerting (bell) icon to open the Alerting page listing existing alerts.
  2. Find a Cortex or Loki managed rule with the group that belongs to the namespace you want to edit.
  3. Click the Edit (pen) icon.
  4. Enter a new name in the Namespace field, then click Save changes.

A new namespace is created and all groups are copied into this namespace from the old one. The old namespace is deleted.

Rename rule group or change the rule group evaluation interval

The rules within a group are run sequentially at a regular interval, the default interval is one (1) minute. You can modify this interval using the following instructions.

  1. n the Grafana menu, click the Alerting (bell) icon to open the Alerting page listing existing alerts.
  2. Find a Cortex or Loki managed rule with the group you want to edit.
  3. Click Edit (pen) icon.
  4. Modify the Rule group and Rule group evaluation interval information as necessary.
  5. Click Save changes.

When you rename the group, a new group with all the rules from the old group is created. The old group is deleted.

Group edit modal