From 082c8ba7a02c1032e989861fc99cdc56fc4b822f Mon Sep 17 00:00:00 2001 From: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com> Date: Tue, 22 Nov 2022 11:35:54 +0100 Subject: [PATCH] Docs: Add step for custom labels in alert form (#59027) --- .../alerting/alerting-rules/create-grafana-managed-rule.md | 3 ++- .../alerting-rules/create-mimir-loki-managed-recording-rule.md | 3 ++- .../alerting/alerting-rules/create-mimir-loki-managed-rule.md | 3 ++- 3 files changed, 6 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 b00268b51d1..21bb21782d5 100644 --- a/docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md +++ b/docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md @@ -43,7 +43,8 @@ Watch this video to learn more about creating alerts: {{< vimeo 720001934 >}} - For **Group**, specify a pre-defined group. Newly created rules are appended to the end of the group. Rules within a group are run sequentially at a regular interval, with the same evaluation time. - Add a description and summary to customize alert messages. Use the guidelines in [Annotations and labels for alerting]({{< relref "../fundamentals/annotation-label/" >}}). - Add Runbook URL, panel, dashboard, and alert IDs. - - Add custom labels. +1. In Step 5, add custom labels. + - Add custom labels selecting existing key-value pairs from the drop down, or add new labels by entering the new key or value . 1. Click **Save** to save the rule or **Save and exit** to save the rule and go back to the Alerting page. 1. Next, create a for the rule. diff --git a/docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md b/docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md index 9f61d11a7df..9e07626fc4c 100644 --- a/docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md +++ b/docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md @@ -67,5 +67,6 @@ To create a Grafana Mimir or Loki managed recording rule 1. In Step 4, add additional metadata associated with the rule. - Add a description and summary to customize alert messages. Use the guidelines in [Annotations and labels for alerting]({{< relref "../fundamentals/annotation-label/" >}}). - Add Runbook URL, panel, dashboard, and alert IDs. - - Add custom labels. +1. In Step 5, add custom labels. + - Add custom labels selecting existing key-value pairs from the drop down, or add new labels by entering the new key or value . 1. Click **Save** to save the rule or **Save and exit** to save the rule and go back to the Alerting page. diff --git a/docs/sources/alerting/alerting-rules/create-mimir-loki-managed-rule.md b/docs/sources/alerting/alerting-rules/create-mimir-loki-managed-rule.md index c57f82e9839..89b7def3c5d 100644 --- a/docs/sources/alerting/alerting-rules/create-mimir-loki-managed-rule.md +++ b/docs/sources/alerting/alerting-rules/create-mimir-loki-managed-rule.md @@ -50,6 +50,7 @@ Watch this video to learn more about how to create a Mimir managed alert rule: { - From the **Group** drop-down, select an existing group within the selected namespace. Otherwise, click **Add new** and enter a name to create a new one. Newly created rules are appended to the end of the group. Rules within a group are run sequentially at a regular interval, with the same evaluation time. - Add a description and summary to customize alert messages. Use the guidelines in [Annotations and labels for alerting]({{< relref "../fundamentals/annotation-label/" >}}). - Add Runbook URL, panel, dashboard, and alert IDs. - - Add custom labels. +1. In Step 5, add custom labels. + - Add custom labels selecting existing key-value pairs from the drop down, or add new labels by entering the new key or value . 1. Click **Save** to save the rule or **Save and exit** to save the rule and go back to the Alerting page. 1. Next, create a notification for the rule.