From 58d0c51cf477b1c2cdc7ef0d49be979e32418e84 Mon Sep 17 00:00:00 2001 From: Gilles De Mey Date: Fri, 1 Dec 2023 18:32:48 +0100 Subject: [PATCH] Alerting: Add note to the docs that GMA rules are evaluated concurrently (#78902) --- .../alerting/alerting-rules/create-grafana-managed-rule.md | 2 +- .../alerting/fundamentals/alert-rules/organising-alerts.md | 4 +++- .../unified/components/rule-editor/FolderAndGroup.tsx | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md b/docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md index d2852bd5fb0..e4bc18dd39f 100644 --- a/docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md +++ b/docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md @@ -92,7 +92,7 @@ To do this, you need to make sure that your alert rule is in the right evaluatio If you are creating a new evaluation group, specify the interval for the group. - All rules within the same group are evaluated sequentially over the same time interval. + All rules within the same group are evaluated concurrently over the same time interval. 1. Enter a pending period. diff --git a/docs/sources/alerting/fundamentals/alert-rules/organising-alerts.md b/docs/sources/alerting/fundamentals/alert-rules/organising-alerts.md index 5e5244c593e..be795920803 100644 --- a/docs/sources/alerting/fundamentals/alert-rules/organising-alerts.md +++ b/docs/sources/alerting/fundamentals/alert-rules/organising-alerts.md @@ -29,6 +29,8 @@ A namespace contains one or more groups. The rules within a group are run sequen ### Groups -The rules within a group are run sequentially at a regular interval, meaning no rules will be evaluated at the same time and in order of appearance.. The default interval is one (1) minute. You can rename Grafana Mimir or Loki rule namespaces and groups, and edit group evaluation intervals. +The rules within a group are run sequentially at a regular interval, meaning no rules will be evaluated at the same time and in order of appearance. The default interval is one (1) minute. You can rename Grafana Mimir or Loki rule namespaces and groups, and edit group evaluation intervals. > **Note** If you want rules to be evaluated concurrently and with different intervals, consider storing them in different groups. + +> **Note** Grafana managed alert rules are evaluated concurrently instead of sequentially. diff --git a/public/app/features/alerting/unified/components/rule-editor/FolderAndGroup.tsx b/public/app/features/alerting/unified/components/rule-editor/FolderAndGroup.tsx index 1a1e524e00e..51b01d8c611 100644 --- a/public/app/features/alerting/unified/components/rule-editor/FolderAndGroup.tsx +++ b/public/app/features/alerting/unified/components/rule-editor/FolderAndGroup.tsx @@ -206,7 +206,7 @@ export function FolderAndGroup({