You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: grafana/alerting-get-started-pt2/index.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
{
2
-
"title": "Get started with Grafana Alerting - Part 2 of 4",
2
+
"title": "Get started with Grafana Alerting - Part 2",
3
3
"description": "Learn to use alert instances and route notifications by labels to contacts, building on your alerting skills in Grafana for more advanced workflows — Part 2.",
Copy file name to clipboardexpand all lines: grafana/alerting-get-started-pt2/intro.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Get started with Grafana Alerting - Part 2 of 4
1
+
# Get started with Grafana Alerting - Part 2
2
2
3
3
The Get started with Grafana Alerting tutorial Part 2 is a continuation of [Get started with Grafana Alerting tutorial Part 1](http://www.grafana.com/tutorials/alerting-get-started/).
Copy file name to clipboardexpand all lines: grafana/alerting-get-started-pt2/preprocessed.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -10,18 +10,18 @@ labels:
10
10
- cloud
11
11
tags:
12
12
- beginner
13
-
title: Get started with Grafana Alerting - Part 2 of 4
13
+
title: Get started with Grafana Alerting - Part 2
14
14
weight: 50
15
15
killercoda:
16
-
title: Get started with Grafana Alerting - Part 2 of 4
16
+
title: Get started with Grafana Alerting - Part 2
17
17
description: Learn to use alert instances and route notifications by labels to contacts, building on your alerting skills in Grafana for more advanced workflows — Part 2.
18
18
backend:
19
19
imageid: ubuntu
20
20
---
21
21
22
22
<!-- INTERACTIVE page intro.md START -->
23
23
24
-
# Get started with Grafana Alerting - Part 2 of 4
24
+
# Get started with Grafana Alerting - Part 2
25
25
26
26
The Get started with Grafana Alerting tutorial Part 2 is a continuation of [Get started with Grafana Alerting tutorial Part 1](http://www.grafana.com/tutorials/alerting-get-started/).
27
27
@@ -180,7 +180,7 @@ Create a notification policy if you want to handle metrics returned by alert rul
180
180
181
181
This new child policy routes alerts that match the label `device=desktop` to the Webhook contact point.
182
182
183
-
1.**Repeat the steps above to create a second child policy** to match another alert instance. For labels use: `device=mobile`. Use the Webhook integration for the contact point. Alternatively, experiment by using a different Webhook endpoint or a [different integration](https://grafana.com/docs/grafana/latest/alerting/configure-notifications/manage-contact-points/#list-of-supported-integrations).
183
+
1.**Repeat the steps above to create a second child policy** to match another alert instance. For labels use: `device=mobile`. Use the Webhook integration for the contact point. Alternatively, experiment by using a different Webhook endpoint or a [different integration](https://grafana.com/docs/grafana/latest/alerting/configure-notifications/manage-contact-points/#supported-contact-point-integrations).
184
184
185
185
<!-- INTERACTIVE ignore END -->
186
186
@@ -197,7 +197,7 @@ Create a notification policy if you want to handle metrics returned by alert rul
197
197
198
198
This new child policy routes alerts that match the label `device=desktop` to the Webhook contact point.
199
199
200
-
1.**Repeat the steps above to create a second child policy** to match another alert instance. For labels use: `device=mobile`. Use the Webhook integration for the contact point. Alternatively, experiment by using a different Webhook endpoint or a [different integration](https://grafana.com/docs/grafana/latest/alerting/configure-notifications/manage-contact-points/#list-of-supported-integrations).
200
+
1.**Repeat the steps above to create a second child policy** to match another alert instance. For labels use: `device=mobile`. Use the Webhook integration for the contact point. Alternatively, experiment by using a different Webhook endpoint or a [different integration](https://grafana.com/docs/grafana/latest/alerting/configure-notifications/manage-contact-points/#supported-contact-point-integrations).
Copy file name to clipboardexpand all lines: grafana/alerting-get-started-pt2/step4.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,4 +18,4 @@ Create a notification policy if you want to handle metrics returned by alert rul
18
18
19
19
This new child policy routes alerts that match the label `device=desktop`{{copy}} to the Webhook contact point.
20
20
21
-
1.**Repeat the steps above to create a second child policy** to match another alert instance. For labels use: `device=mobile`{{copy}}. Use the Webhook integration for the contact point. Alternatively, experiment by using a different Webhook endpoint or a [different integration](https://grafana.com/docs/grafana/latest/alerting/configure-notifications/manage-contact-points/#list-of-supported-integrations).
21
+
1.**Repeat the steps above to create a second child policy** to match another alert instance. For labels use: `device=mobile`{{copy}}. Use the Webhook integration for the contact point. Alternatively, experiment by using a different Webhook endpoint or a [different integration](https://grafana.com/docs/grafana/latest/alerting/configure-notifications/manage-contact-points/#supported-contact-point-integrations).
Copy file name to clipboardexpand all lines: grafana/alerting-get-started-pt3/intro.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Get started with Grafana Alerting - Part 3 of 4
1
+
# Get started with Grafana Alerting - Part 3
2
2
3
3
The Get started with Grafana Alerting tutorial Part 3 is a continuation of [Get started with Grafana Alerting tutorial Part 2](http://www.grafana.com/tutorials/alerting-get-started-pt2/).
Copy file name to clipboardexpand all lines: grafana/alerting-get-started-pt3/preprocessed.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,10 @@ labels:
10
10
- cloud
11
11
tags:
12
12
- intermediate
13
-
title: Get started with Grafana Alerting - Part 3 of 4
13
+
title: Get started with Grafana Alerting - Part 3
14
14
weight: 60
15
15
killercoda:
16
-
title: Get started with Grafana Alerting - Part 3 of 4
16
+
title: Get started with Grafana Alerting - Part 3
17
17
description: Learn how to group alert notifications effectively to reduce noise and streamline communication in Grafana Alerting — Part 3.
18
18
backend:
19
19
imageid: ubuntu
@@ -37,7 +37,7 @@ refs:
37
37
38
38
<!-- INTERACTIVE page intro.md START -->
39
39
40
-
# Get started with Grafana Alerting - Part 3 of 4
40
+
# Get started with Grafana Alerting - Part 3
41
41
42
42
The Get started with Grafana Alerting tutorial Part 3 is a continuation of [Get started with Grafana Alerting tutorial Part 2](http://www.grafana.com/tutorials/alerting-get-started-pt2/).
Copy file name to clipboardexpand all lines: grafana/alerting-get-started-pt4/finish.md
+4
Original file line number
Diff line number
Diff line change
@@ -13,3 +13,7 @@ To deepen your understanding of Grafana’s templating, explore the following re
13
13
-[**Notification template reference**](https://grafana.com/docs/grafana/latest/alerting/configure-notifications/template-notifications/reference/): Lists the data available for use in notification templates and explores specific functions.
14
14
15
15
-[**Alert rule template reference**](https://grafana.com/docs/grafana/latest/alerting/alerting-rules/templates/reference/): Covers the specifics of creating dynamic labels and annotations for alert rules using elements such as variables and functions.
16
+
17
+
# Learn more in [Grafana Alerting Part 5](http://www.grafana.com/tutorials/alerting-get-started-pt5/)
18
+
19
+
In [Get started with Grafana Alerting - Part 5](http://www.grafana.com/tutorials/alerting-get-started-pt5/) you learn how to dynamically route alerts and link them to dashboards.
Copy file name to clipboardexpand all lines: grafana/alerting-get-started-pt4/preprocessed.md
+13
Original file line number
Diff line number
Diff line change
@@ -410,4 +410,17 @@ To deepen your understanding of Grafana’s templating, explore the following re
410
410
- [**Notification template reference**](https://grafana.com/docs/grafana/latest/alerting/configure-notifications/template-notifications/reference/): Lists the data available for use in notification templates and explores specific functions.
411
411
- [**Alert rule template reference**](https://grafana.com/docs/grafana/latest/alerting/alerting-rules/templates/reference/): Covers the specifics of creating dynamic labels and annotations for alert rules using elements such as variables and functions.
412
412
413
+
## Learn more in [Grafana Alerting Part 5](http://www.grafana.com/tutorials/alerting-get-started-pt5/)
414
+
415
+
<!-- INTERACTIVE ignore START -->
416
+
417
+
> **Tip:**
418
+
> In [Get started with Grafana Alerting - Part 5](http://www.grafana.com/tutorials/alerting-get-started-pt5/) you learn how to dynamically route alerts and link them to dashboards.
419
+
420
+
<!-- INTERACTIVE ignore END -->
421
+
422
+
423
+
In [Get started with Grafana Alerting - Part 5](http://www.grafana.com/tutorials/alerting-get-started-pt5/) you learn how to dynamically route alerts and link them to dashboards.
Copy file name to clipboardexpand all lines: grafana/alerting-get-started-pt5/intro.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,6 @@ In this tutorial you will learn how to:
6
6
7
7
- Leverage notification policies for **dynamic routing based on query values**: Use notification policies to route alerts based on dynamically generated labels, in a way that critical alerts reach the on-call team and less urgent ones go to a general monitoring channel.
8
8
9
-
- Set **mute timings** to suppress certain alerts during maintenance, or weekends.
9
+
- Set **mute timings** to suppress certain alerts during maintenance or weekends.
10
10
11
11
-**Link alerts to dashboards** to provide more context to resolve issues.
description: Learn how to dinamically route alerts and link them to dashboards — Part 5.
5
+
description: Learn how to dynamically route alerts and link them to dashboards — Part 5.
6
6
labels:
7
7
products:
8
8
- enterprise
@@ -14,7 +14,7 @@ title: Get started with Grafana Alerting - Part 5
14
14
weight: 60
15
15
killercoda:
16
16
title: Get started with Grafana Alerting - Part 5
17
-
description: Learn how to dinamically route alerts and link them to dashboards — Part 5.
17
+
description: Learn how to dynamically route alerts and link them to dashboards — Part 5.
18
18
backend:
19
19
imageid: ubuntu
20
20
---
@@ -30,7 +30,7 @@ In this tutorial, we focus on optimizing your alerting strategy using Grafana fo
30
30
In this tutorial you will learn how to:
31
31
32
32
- Leverage notification policies for **dynamic routing based on query values**: Use notification policies to route alerts based on dynamically generated labels, in a way that critical alerts reach the on-call team and less urgent ones go to a general monitoring channel.
33
-
- Set **mute timings** to suppress certain alerts during maintenance, or weekends.
33
+
- Set **mute timings** to suppress certain alerts during maintenance or weekends.
34
34
-**Link alerts to dashboards** to provide more context to resolve issues.
35
35
36
36
<!-- INTERACTIVE page intro.md END -->
@@ -53,7 +53,7 @@ In this tutorial you will learn how to:
53
53
54
54
### Set up the Grafana stack
55
55
56
-
To demonstrate the observation of data using the Grafana stack, download and run the following files.
56
+
To observe data using the Grafana stack, download and run the following files.
57
57
58
58
1. Clone the [tutorial environment repository](https://github.com/tonypowa/grafana-prometheus-alerting-demo.git).
59
59
@@ -87,7 +87,6 @@ To demonstrate the observation of data using the Grafana stack, download and run
87
87
<!-- INTERACTIVE exec END -->
88
88
89
89
90
-
91
90
1. Bring up the containers:
92
91
93
92
<!-- INTERACTIVE ignore START -->
@@ -108,7 +107,6 @@ To demonstrate the observation of data using the Grafana stack, download and run
108
107
<!-- INTERACTIVE exec END -->
109
108
110
109
111
-
112
110
The first time you run `docker compose up -d`, Docker downloads all the necessary resources for the tutorial. This might take a few minutes, depending on your internet connection.
113
111
114
112
<!-- INTERACTIVE ignore START -->
@@ -175,7 +173,7 @@ The time-series visualization supports alert rules to provide more context in th
175
173
176
174
- In the query area, copy and paste the following PromQL query:
177
175
178
-
** switch to **Code** mode if not already selected **
176
+
** switch to **Code** mode if not already selected **
179
177
180
178
```promql
181
179
flask_app_cpu_usage{environment="prod"}
@@ -194,9 +192,9 @@ The time-series visualization supports alert rules to provide more context in th
194
192
flask_app_memory_usage{environment="prod"}
195
193
```
196
194
197
-
{{< figure src="/media/docs/alerting/time-series_cpu_mem_usage_metrics.png" max-width="1200px" caption="Time-series panel displaying CPU and memory usage metrics in production." >}}
195
+
{{< figure src="/media/docs/alerting/time-series_cpu_mem_usage_metrics.png" max-width="1200px" caption="Time-series panel displaying CPU and memory usage metrics in production." >}}
198
196
199
-
Both metrics return labels that we’ll use later to link alert instances with the appropriate routing. These labels help define how alerts are routed based on their environment or other criteria.
197
+
Both metrics return labels that we’ll use later to link alert instances with the appropriate routing. These labels help define how alerts are routed based on their environment or other criteria.
200
198
201
199
1. Click **Save dashboard**.
202
200
@@ -247,11 +245,11 @@ Follow these steps to manually create alert rules and link them to a visualizati
247
245
## Create an alert rule for CPU usage
248
246
249
247
1. Navigate to **Alerts & IRM > Alerting > Alert rules** from the Grafana sidebar.
250
-
1. Click **+ New alert** rule to create a new alert.
248
+
1. Click **+ New alert rule** rule to create a new alert.
251
249
252
250
### Enter alert rule name
253
251
254
-
Make it short and descriptive as this will appear in your alert notification. For instance, `CPU usage` .
252
+
Make it short and descriptive, as this will appear in your alert notification. For instance, `CPU usage` .
255
253
256
254
### Define query and alert condition
257
255
@@ -349,7 +347,7 @@ Now that we've set up notification policies, we can demonstrate how to mute aler
349
347
Mute timings are useful for suppressing alerts with certain labels during maintenance windows or weekends.
Copy file name to clipboardexpand all lines: grafana/alerting-get-started-pt5/step3.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -28,11 +28,11 @@ The time-series visualization supports alert rules to provide more context in th
28
28
29
29
- In the query area, copy and paste the following PromQL query:
30
30
31
-
** switch to **Code** mode if not already selected **
31
+
** switch to **Code** mode if not already selected **
32
32
33
-
```promql
34
-
flask_app_cpu_usage{environment="prod"}
35
-
```{{copy}}
33
+
```promql
34
+
flask_app_cpu_usage{environment="prod"}
35
+
```{{copy}}
36
36
37
37
- Click **Run queries**.
38
38
@@ -48,9 +48,9 @@ The time-series visualization supports alert rules to provide more context in th
48
48
flask_app_memory_usage{environment="prod"}
49
49
```{{copy}}
50
50
51
-

51
+

52
52
53
-
Both metrics return labels that we’ll use later to link alert instances with the appropriate routing. These labels help define how alerts are routed based on their environment or other criteria.
53
+
Both metrics return labels that we’ll use later to link alert instances with the appropriate routing. These labels help define how alerts are routed based on their environment or other criteria.
Copy file name to clipboardexpand all lines: grafana/alerting-get-started/index.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
{
2
-
"title": "Get started with Grafana Alerting - Part 1 of 4",
2
+
"title": "Get started with Grafana Alerting - Part 1",
3
3
"description": "Get started with Grafana Alerting by creating your first alert rule, sending notifications to a webhook, and generating data to test it live — Part 1.",
Copy file name to clipboardexpand all lines: grafana/alerting-get-started/intro.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Get started with Grafana Alerting - Part 1 of 4
1
+
# Get started with Grafana Alerting - Part 1
2
2
3
3
In this guide, we walk you through the process of setting up your first alert in just a few minutes. You’ll witness your alert in action with real-time data, as well as sending alert notifications.
Copy file name to clipboardexpand all lines: grafana/alerting-get-started/preprocessed.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -11,18 +11,18 @@ labels:
11
11
- cloud
12
12
tags:
13
13
- beginner
14
-
title: Get started with Grafana Alerting - Part 1 of 4
14
+
title: Get started with Grafana Alerting - Part 1
15
15
weight: 50
16
16
killercoda:
17
-
title: Get started with Grafana Alerting - Part 1 of 4
17
+
title: Get started with Grafana Alerting - Part 1
18
18
description: Get started with Grafana Alerting by creating your first alert rule, sending notifications to a webhook, and generating data to test it live — Part 1.
19
19
backend:
20
20
imageid: ubuntu
21
21
---
22
22
23
23
<!-- INTERACTIVE page intro.md START -->
24
24
25
-
# Get started with Grafana Alerting - Part 1 of 4
25
+
# Get started with Grafana Alerting - Part 1
26
26
27
27
In this guide, we walk you through the process of setting up your first alert in just a few minutes. You'll witness your alert in action with real-time data, as well as sending alert notifications.
0 commit comments