Skip to content

Commit 9d26dc3

Browse files
committed
(DOCSP-29040): Backport DOCSP-28882 to v6.0. (#4979)
* (DOCSP-28882): Added an Alerts Workflow. * (DOCSP-28882): Incorporated Dave's feedback. * (DOCSP-28882): Incorporated Dave's feedback.
1 parent 51f3eda commit 9d26dc3

File tree

7 files changed

+115
-3
lines changed

7 files changed

+115
-3
lines changed

source/includes/extracts-alerts.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ content: |
66
:doc:`global </tutorial/manage-global-alerts>` alert you create, you must
77
set a target and a condition or metric. The *target* points to what changed:
88
the |mms| component. If your *condition* becomes true or a *metric* meets
9-
your set threshold, |mms| triggers an alert.
9+
your set threshold, |mms| triggers an alert. To learn more, see
10+
:ref:`alerts-workflow`.
1011
1112
---
1213
ref: alert-overview
@@ -16,7 +17,8 @@ content: |
1617
For each :doc:`alert </tutorial/manage-alert-configurations>` you create,
1718
you must set a target and a condition or metric. The *target* points to what
1819
changed: the |mms| component. If your *condition* becomes true or a *metric*
19-
falls below or rises above your set threshold, |mms| triggers an alert.
20+
falls below or rises above your set threshold, |mms| triggers an
21+
alert. To learn more, see :ref:`alerts-workflow`.
2022
2123
---
2224
ref: alert-conf-call-failure
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
title: The alert condition is met.
2+
level: 4
3+
ref: alert-triggers-aw
4+
content: |
5+
6+
- For informational alerts like the
7+
:alert-type:`User joined the organization <JOINED_ORG>`.
8+
alert, |mms| sends notifications as soon as the condition is
9+
met. These alerts don't appear in the |mms| UI. The
10+
informational alerts workflow ends here.
11+
12+
- Otherwise, |mms| retrieves metrics at regular intervals
13+
based on granularity. When the retrieved metrics indicate that
14+
an alert condition is met, |mms| tracks the alert condition
15+
until it ends, or until it remains past the amount of time
16+
specified in the :guilabel:`send if condition lasts at least`
17+
field.
18+
19+
.. note::
20+
21+
If the alert condition ends between sampling periods,
22+
|mms| doesn't track the alert condition or send any
23+
notifications.
24+
25+
---
26+
title: The alert condition remains past the amount of time specified in the :guilabel:`send if condition lasts at least` field.
27+
level: 4
28+
ref: notification-threshold-aw
29+
content: |
30+
31+
|mms| sends notifications. The alerts appear on the
32+
:guilabel:`All Alerts` tab (organization alerts) or the
33+
:guilabel:`Open Alerts` tab (project alerts).
34+
35+
---
36+
title: The alert remains active until it resolves, or you disable or delete it.
37+
level: 4
38+
ref: alert-active-aw
39+
content: |
40+
41+
The following stages might occur:
42+
43+
- You :ref:`acknowledge the alert <acknowledge-alert>`. |mms|
44+
sends no further notifications until either the acknowledgement
45+
period ends, you resolve the alert condition, or you
46+
unacknowledge the alert. If an alert condition ends during an
47+
acknowledgment period, |mms| sends a notification.
48+
49+
- You :ref:`unacknowledge an alert <unacknowledge-alert>` that
50+
you previously acknowledged. After you unacknowledge an active
51+
alert, |mms| resumes sending notifications at regular
52+
intervals until the condition resolves or you delete, disable,
53+
or re-acknowledge the alert.
54+
55+
- You :ref:`disable the alert <disable-enable-alert-setting>`.
56+
|mms| cancels active alerts related to the setting. A disabled
57+
alert setting remains visible but grayed-out and you can later
58+
re-enable it.
59+
60+
- You :ref:`enable an alert <disable-enable-alert-setting>` that
61+
you previously disabled.
62+
63+
- You :ref:`delete the alert <delete-alert-setting>`. |mms|
64+
cancels active alerts related to the setting. A deleted alert
65+
setting does not remain visible.
66+
67+
- The alert condition resolves. The alert appears on the
68+
:guilabel:`All Alerts` tab (organization alerts) or the
69+
:guilabel:`Closed Alerts` tab (project alerts).
70+
71+
...

source/includes/steps-view-org-alerts.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ stepnum: 2
77
level: 4
88
ref: alerts-org
99
title: "If it is not already displayed, click the :guilabel:`All Alerts` tab."
10+
1011
...

source/tutorial/manage-alert-configurations.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ When you create a new alert, you can clone an existing alert.
202202

203203
.. include:: /includes/steps/configure-project-alert.rst
204204

205+
.. _delete-alert-setting:
206+
205207
Delete an Alert Configuration
206208
-----------------------------
207209

@@ -221,6 +223,8 @@ Delete an Alert Configuration
221223
If you delete an alert setting, |mms| cancels active alerts related to
222224
the setting. A deleted alert setting does not remain visible.
223225

226+
.. _disable-enable-alert-setting:
227+
224228
Disable or Enable an Alert Configuration
225229
----------------------------------------
226230

@@ -253,11 +257,21 @@ View the History of Changes to an Alert Configuration
253257
.. tab:: Organization Alerts
254258
:tabid: org
255259

260+
You can view all alerts, alert settings, and deleted alerts on
261+
the :guilabel:`Organization Alerts` page. To learn more, see
262+
:ref:`alerts-workflow`.
263+
256264
.. include:: /includes/steps/alert-configuration-history-org.rst
257265

258266
.. tab:: Project Alerts
259267
:tabid: project
260268

269+
You can view open alerts, closed alerts, and alert
270+
settings on the :guilabel:`Project Alerts` page.
271+
|mms| sends notifications for all alerts
272+
that appear on the :guilabel:`Open` tab. To learn more,
273+
see :ref:`alerts-workflow`.
274+
261275
.. include:: /includes/steps/alert-configuration-history.rst
262276

263277

source/tutorial/manage-alerts-and-events.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,23 @@ View Alerts
4242
- id: org
4343
name: Organization Alerts
4444
content: |
45+
46+
You can view all alerts, alert settings, and deleted alerts on
47+
the :guilabel:`Organization Alerts` page. To learn more, see
48+
:ref:`alerts-workflow`.
4549

4650
.. include:: /includes/steps/view-org-alerts.rst
4751

4852
- id: project
4953
name: Project Alerts
5054
content: |
5155

56+
You can view open alerts, closed alerts, and alert
57+
settings on the :guilabel:`Project Alerts` page.
58+
|service| sends notifications for all alerts
59+
that appear on the :guilabel:`Open` tab. To learn more,
60+
see :ref:`alerts-workflow`.
61+
5262
.. include:: /includes/steps/view-proj-alerts.rst
5363

5464
.. _mms_view_all_activity:
@@ -77,6 +87,8 @@ Retrieve the Activity Feed
7787
You can retrieve events for a specified organization or project using
7888
the :doc:`/reference/api/events/` |api| resource.
7989

90+
.. _acknowledge-alert:
91+
8092
Acknowledge an Alert
8193
--------------------
8294

@@ -109,6 +121,8 @@ PagerDuty dashboard.
109121

110122
.. include:: /includes/steps/alerts-acknowledge-proj.rst
111123

124+
.. _unacknowledge-alert:
125+
112126
Unacknowledge an Alert
113127
----------------------
114128

source/tutorial/nav/alert-resolutions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ that suspends host alerts while you shut down hosts for maintenance.
2525

2626
.. include:: /includes/extracts/manage-alerts-and-events-overview.rst
2727

28-
To learn more, see :ref:`manage-alerts`.
28+
To learn more, see :ref:`alerts-workflow` and :ref:`manage-alerts`.
2929

3030
.. _resolved-alert:
3131

source/tutorial/nav/alerts.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ future. To learn how to fix the immediate problem, implement a
4343
long-term solution, and monitor your progress, see
4444
:ref:`alerts-resolutions`.
4545

46+
.. _alerts-workflow:
47+
48+
Alerts Workflow
49+
---------------
50+
51+
When an :ref:`alert condition <alert-conditions>` is met, the following
52+
alert lifecycle begins:
53+
54+
.. include:: /includes/steps/alerts-workflow.rst
55+
4656
.. toctree::
4757
:titlesonly:
4858
:hidden:

0 commit comments

Comments
 (0)