
* convert SQLs to use sdk contracts * make draft * postgres * intermedia * get datasourceinfo filled at the beginning of the service * move the interval into package because of cyclict import and fix all postgres tests * fix mysql test * fix mssql * fix the test for pr https://github.com/grafana/grafana/issues/35839 * fix some issue about intervalv2 package * update sql test * wire migration for SQLs * add sqls to the background process * make it register instead of register and start * revert formatting * fix tests * fix linter * remove integration test * Postgres test fix Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
1.7 KiB
+++ title = "Edit Cortex or Loki rule groups and namespaces" description = "Edit Cortex or Loki rule groups and namespaces" keywords = ["grafana", "alerting", "guide", "group", "namespace", "cortex", "loki"] weight = 400 +++
Edit Cortex or Loki rule groups and namespaces
You can rename Cortex or Loki rule namespaces and groups and edit group evaluation intervals.
Rename a namespace
A namespace contains one or more groups. To rename a namespace, find a group that belongs to the namespace, then update the namespace.
- Hover your cursor over the Alerting (bell) icon in the side menu.
- Locate a group that belongs to the namespace you want to edit and click the edit (pen) icon.
- 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 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.
- Hover your cursor over the Alerting (bell) icon in the side menu.
- Find the group you want to edit and click the edit (pen) icon.
- Modify the Rule group and Rule group evaluation interval information as necessary.
- Click Save changes.
If you remaned the group, a new group is created that has all the rules from the old group, and the old group deleted.