Skip to content

Commit 03fb61f

Browse files
authored
Merge pull request #63944 from bburt-rh/OBSDOCS-352-document-new-silences-panel-in-monitoring-dev-console
OBSDOCS-352: document-new-silences-panel-in-monitoring-dev-console
2 parents 6ac6ffa + d9190bc commit 03fb61f

File tree

4 files changed

+99
-47
lines changed

4 files changed

+99
-47
lines changed

modules/monitoring-editing-silences.adoc

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,40 @@
66
[id="editing-silences_{context}"]
77
= Editing silences
88

9-
You can edit a silence, which will expire the existing silence and create a new one with the changed configuration.
9+
You can edit a silence, which expires the existing silence and creates a new one with the changed configuration.
10+
11+
.Prerequisites
12+
13+
ifndef::openshift-dedicated,openshift-rosa[]
14+
* If you are a cluster administrator, you have access to the cluster as a user with the `cluster-admin` role.
15+
endif::openshift-dedicated,openshift-rosa[]
16+
ifdef::openshift-dedicated,openshift-rosa[]
17+
* If you are a cluster administrator, you have access to the cluster as a user with the `dedicated-admin` role.
18+
endif::openshift-dedicated,openshift-rosa[]
19+
* If you are a non-administrator user, you have access to the cluster as a user with the following user roles:
20+
** The `cluster-monitoring-view` cluster role, which allows you to access Alertmanager.
21+
** The `monitoring-alertmanager-edit` role, which permits you to create and silence alerts in the *Administrator* perspective in the web console.
22+
** The `monitoring-rules-edit` cluster role, which permits you to create and silence alerts in the *Developer* perspective in the web console.
1023

1124
.Procedure
1225

1326
To edit a silence in the *Administrator* perspective:
1427

15-
. Navigate to the *Observe* -> *Alerting* -> *Silences* page.
28+
. Go to *Observe* -> *Alerting* -> *Silences*.
1629

17-
. For the silence you want to modify, select the {kebab} in the last column and choose *Edit silence*.
30+
. For the silence you want to modify, click {kebab} and select *Edit silence*.
1831
+
19-
Alternatively, you can select *Actions* -> *Edit Silence* in the *Silence Details* page for a silence.
32+
Alternatively, you can click *Actions* and select *Edit silence* on the *Silence details* page for a silence.
2033

21-
. In the *Edit Silence* page, enter your changes and select *Silence*. This will expire the existing silence and create one with the chosen configuration.
34+
. On the *Edit silence* page, make changes and click *Silence*. Doing so expires the existing silence and creates one with the updated configuration.
2235

2336
To edit a silence in the *Developer* perspective:
2437

25-
. Navigate to the *Observe* -> *<project_name>* -> *Alerts* page.
26-
27-
. Expand the details for an alert by selecting *>* to the left of the alert name. Select the name of the alert in the expanded view to open the *Alert Details* page for the alert.
38+
. Go to *Observe* -> *<project_name>* -> *Silences*.
2839

29-
. Select the name of a silence in the *Silenced By* section in that page to navigate to the *Silence Details* page for the silence.
30-
31-
. Select the name of a silence to navigate to its *Silence Details* page.
40+
. For the silence you want to modify, click {kebab} and select *Edit silence*.
41+
+
42+
Alternatively, you can click *Actions* and select *Edit silence* on the *Silence details* page for a silence.
3243

33-
. Select *Actions* -> *Edit Silence* in the *Silence Details* page for a silence.
44+
. On the *Edit silence* page, make changes and click *Silence*. Doing so expires the existing silence and creates one with the updated configuration.
3445

35-
. In the *Edit Silence* page, enter your changes and select *Silence*. This will expire the existing silence and create one with the chosen configuration.

modules/monitoring-expiring-silences.adoc

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,45 @@
66
[id="expiring-silences_{context}"]
77
= Expiring silences
88

9-
You can expire a silence. Expiring a silence deactivates it forever.
9+
You can expire a single silence or multiple silences. Expiring a silence deactivates it permanently.
1010

1111
[NOTE]
1212
====
1313
You cannot delete expired, silenced alerts.
1414
Expired silences older than 120 hours are garbage collected.
1515
====
1616

17+
.Prerequisites
18+
19+
ifndef::openshift-dedicated,openshift-rosa[]
20+
* If you are a cluster administrator, you have access to the cluster as a user with the `cluster-admin` role.
21+
endif::openshift-dedicated,openshift-rosa[]
22+
ifdef::openshift-dedicated,openshift-rosa[]
23+
* If you are a cluster administrator, you have access to the cluster as a user with the `dedicated-admin` role.
24+
endif::openshift-dedicated,openshift-rosa[]
25+
* If you are a non-administrator user, you have access to the cluster as a user with the following user roles:
26+
** The `cluster-monitoring-view` cluster role, which allows you to access Alertmanager.
27+
** The `monitoring-alertmanager-edit` role, which permits you to create and silence alerts in the *Administrator* perspective in the web console.
28+
** The `monitoring-rules-edit` cluster role, which permits you to create and silence alerts in the *Developer* perspective in the web console.
29+
1730
.Procedure
1831

19-
To expire a silence in the *Administrator* perspective:
32+
To expire a silence or silences in the *Administrator* perspective:
33+
34+
. Go to *Observe* -> *Alerting* -> *Silences*.
2035

21-
. Navigate to the *Observe* -> *Alerting* -> *Silences* page.
36+
. For the silence or silences you want to expire, select the checkbox in the corresponding row.
2237

23-
. For the silence you want to modify, select the {kebab} in the last column and choose *Expire silence*.
38+
. Click *Expire 1 silence* to expire a single selected silence or *Expire _<n>_ silences* to expire multiple selected silences, where _<n>_ is the number of silences you selected.
2439
+
25-
Alternatively, you can select *Actions* -> *Expire Silence* in the *Silence Details* page for a silence.
40+
Alternatively, to expire a single silence you can click *Actions* and select *Expire silence* on the *Silence details* page for a silence.
2641

2742
To expire a silence in the *Developer* perspective:
2843

29-
. Navigate to the *Observe* -> *<project_name>* -> *Alerts* page.
44+
. Go to *Observe* -> *<project_name>* -> *Silences*.
3045

31-
. Expand the details for an alert by selecting *>* to the left of the alert name. Select the name of the alert in the expanded view to open the *Alert Details* page for the alert.
46+
. For the silence or silences you want to expire, select the checkbox in the corresponding row.
3247

33-
. Select the name of a silence in the *Silenced By* section in that page to navigate to the *Silence Details* page for the silence.
34-
35-
. Select the name of a silence to navigate to its *Silence Details* page.
36-
37-
. Select *Actions* -> *Expire Silence* in the *Silence Details* page for a silence.
48+
. Click *Expire 1 silence* to expire a single selected silence or *Expire _<n>_ silences* to expire multiple selected silences, where _<n>_ is the number of silences you selected.
49+
+
50+
Alternatively, to expire a single silence you can click *Actions* and select *Expire silence* on the *Silence details* page for a silence.

modules/monitoring-managing-silences.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
[id="managing-silences_{context}"]
77
= Managing silences
88

9-
You can create a silence to stop receiving notifications about an alert when it is firing. It might be useful to silence an alert after being first notified, while you resolve the underlying issue.
9+
You can create a silence for an alert in the {product-title} web console in both the *Administrator* and *Developer* perspectives.
10+
After you create a silence, you will not receive notifications about an alert when the alert fires.
11+
12+
Creating silences is useful in scenarios where you have received an initial alert notification, and you do not want to receive further notifications during the time in which you resolve the underlying issue causing the alert to fire.
1013

1114
When creating a silence, you must specify whether it becomes active immediately or at a later time. You must also set a duration period after which the silence expires.
1215

13-
You can view, edit, and expire existing silences.
16+
After you create silences, you can view, edit, and expire them.

modules/monitoring-silencing-alerts.adoc

Lines changed: 46 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="silencing-alerts_{context}"]
77
= Silencing alerts
88

9-
You can either silence a specific alert or silence alerts that match a specification that you define.
9+
You can silence a specific alert or silence alerts that match a specification that you define.
1010

1111
.Prerequisites
1212

@@ -23,40 +23,66 @@ endif::openshift-dedicated,openshift-rosa[]
2323

2424
.Procedure
2525

26-
To silence a specific alert:
26+
To silence a specific alert in the *Administrator* perspective:
2727

28-
* In the *Administrator* perspective:
28+
. Go to *Observe* -> *Alerting* -> *Alerts* in the {product-title} web console.
2929

30-
. Navigate to the *Observe* -> *Alerting* -> *Alerts* page of the {product-title} web console.
30+
. For the alert that you want to silence, click {kebab} and select *Silence alert* to open the *Silence alert* page with a default configuration for the chosen alert.
3131

32-
. For the alert that you want to silence, select the {kebab} in the right-hand column and select *Silence Alert*. The *Silence Alert* form will appear with a pre-populated specification for the chosen alert.
32+
. Optional: Change the default configuration details for the silence.
33+
+
34+
[NOTE]
35+
====
36+
You must add a comment before saving a silence.
37+
====
3338

34-
. Optional: Modify the silence.
39+
. To save the silence, click *Silence*.
3540

36-
. You must add a comment before creating the silence.
41+
To silence a specific alert in the *Developer* perspective:
3742

38-
. To create the silence, select *Silence*.
43+
. Go to *Observe* -> *<project_name>* -> *Alerts* in the {product-title} web console.
3944

40-
* In the *Developer* perspective:
45+
. If necessary, expand the details for the alert by selecting *>* next to the alert name.
4146

42-
. Navigate to the *Observe* -> *<project_name>* -> *Alerts* page in the {product-title} web console.
47+
. Click the alert message in the expanded view to open the *Alert details* page for the alert.
4348

44-
. Expand the details for an alert by selecting *>* to the left of the alert name. Select the name of the alert in the expanded view to open the *Alert Details* page for the alert.
49+
. Click *Silence alert* to open the *Silence alert* page with a default configuration for the alert.
4550

46-
. Select *Silence Alert*. The *Silence Alert* form will appear with a prepopulated specification for the chosen alert.
51+
. Optional: Change the default configuration details for the silence.
52+
+
53+
[NOTE]
54+
====
55+
You must add a comment before saving a silence.
56+
====
4757

48-
. Optional: Modify the silence.
58+
. To save the silence, click *Silence*.
4959

50-
. You must add a comment before creating the silence.
60+
To silence a set of alerts by creating a silence configuration in the *Administrator* perspective:
5161

52-
. To create the silence, select *Silence*.
62+
. Go to *Observe* -> *Alerting* -> *Silences* in the {product-title} web console.
5363

54-
To silence a set of alerts by creating an alert specification in the *Administrator* perspective:
64+
. Click *Create silence*.
5565

56-
. Navigate to the *Observe* -> *Alerting* -> *Silences* page in the {product-title} web console.
66+
. On the *Create silence* page, set the schedule, duration, and label details for an alert.
67+
+
68+
[NOTE]
69+
====
70+
You must add a comment before saving a silence.
71+
====
5772

58-
. Select *Create Silence*.
73+
. To create silences for alerts that match the labels that you entered, click *Silence*.
5974

60-
. Set the schedule, duration, and label details for an alert in the *Create Silence* form. You must also add a comment for the silence.
75+
To silence a set of alerts by creating a silence configuration in the *Developer* perspective:
6176

62-
. To create silences for alerts that match the label sectors that you entered in the previous step, select *Silence*.
77+
. Go to *Observe* -> *<project_name>* -> *Silences* in the {product-title} web console.
78+
79+
. Click *Create silence*.
80+
81+
. On the *Create silence* page, set the duration and label details for an alert.
82+
+
83+
[NOTE]
84+
====
85+
You must add a comment before saving a silence.
86+
====
87+
88+
. To create silences for alerts that match the labels that you entered, click *Silence*.

0 commit comments

Comments
 (0)