The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/alerting/alerting-rules/edit-mimir-loki-namespace-g...

2.6 KiB

aliases description keywords title weight
[../unified-alerting/alerting-rules/edit-cortex-loki-namespace-group/ ../unified-alerting/alerting-rules/edit-mimir-loki-namespace-group/] Edit Grafana Mimir or Loki rule groups and namespaces [grafana alerting guide group namespace grafana mimir loki] Grafana Mimir or Loki rule groups and namespaces 405

Grafana Mimir 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 Grafana Mimir or Loki rule namespaces and groups, and edit group evaluation intervals.

{{< figure src="/static/img/docs/alerting/unified/rule-list-edit-mimir-loki-icon-8-2.png" caption="Rule group list" alt="Group list" >}}

Rename a namespace

To rename a namespace:

  1. In the left-side menu, click Alerts & incidents and then Alerting.
  2. Click Alert rules to view the list of existing alerts.
  3. Find a Grafana Mimir or Loki managed rule with the group that belongs to the namespace you want to edit.
  4. Click the Edit (pen) icon.
  5. 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. In the left-side menu, click the Alerts & incidents and then Alerting.
  2. Click Alert rules to view the list of existing alerts.
  3. Find a Grafana Mimir or Loki managed rule with the group you want to edit.
  4. Click Edit (pen) icon.
  5. Modify the Rule group and Rule group evaluation interval information as necessary.
  6. 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