Skip to content

Commit 04525ba

Browse files
committed
OBSDOCS-961: Update docs to explain persistence of silences when multiple Alertmanager pods are restarted
1 parent f7ab77a commit 04525ba

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

modules/monitoring-configuring-persistent-storage.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@
33
// * observability/monitoring/configuring-the-monitoring-stack.adoc
44

55
:_mod-docs-content-type: CONCEPT
6-
[id="configuring_persistent_storage_{context}"]
6+
[id="configuring-persistent-storage_{context}"]
77
= Configuring persistent storage
88

9-
Running cluster monitoring with persistent storage means that your metrics are stored to a persistent volume (PV) and can survive a pod being restarted or recreated. This is ideal if you require your metrics or alerting data to be guarded from data loss. For production environments, it is highly recommended to configure persistent storage. Because of the high IO demands, it is advantageous to use local storage.
9+
Run cluster monitoring with persistent storage to gain the following benefits:
10+
11+
* Protect your metrics and alerting data from data loss by storing them in a persistent volume (PV). As a result, they can survive pods being restarted or recreated.
12+
* Avoid getting duplicate notifications and losing silences for alerts when the Alertmanager pods are restarted.
13+
14+
For production environments, it is highly recommended to configure persistent storage. Because of the high IO demands, it is advantageous to use local storage.
1015

1116
[id="persistent-storage-prerequisites"]
1217
== Persistent storage prerequisites

modules/monitoring-managing-silences.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ Creating silences is useful in scenarios where you have received an initial aler
1414
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.
1515

1616
After you create silences, you can view, edit, and expire them.
17+
18+
[NOTE]
19+
====
20+
When you create silences, they are replicated across Alertmanager pods. However, if you do not configure persistent storage for Alertmanager, silences might be lost. This can happen, for example, if all Alertmanager pods restart at the same time.
21+
====

observability/monitoring/managing-alerts.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ include::modules/monitoring-getting-information-about-alerts-silences-and-alerti
3838
3939
// Managing silences
4040
include::modules/monitoring-managing-silences.adoc[leveloffset=+1]
41+
[role="_additional-resources"]
42+
.Additional resources
43+
* xref:../../observability/monitoring/configuring-the-monitoring-stack.adoc#configuring-persistent-storage_configuring-the-monitoring-stack[Configuring persistent storage]
44+
4145
include::modules/monitoring-silencing-alerts.adoc[leveloffset=+2]
4246
include::modules/monitoring-editing-silences.adoc[leveloffset=+2]
4347
include::modules/monitoring-expiring-silences.adoc[leveloffset=+2]

0 commit comments

Comments
 (0)