Skip to content

Commit 85df47e

Browse files
Merge pull request #74329 from eromanova97/OBSDOCS-68
OBSDOCS-68: How to send monitoring alerts to different receivers for …
2 parents 77bf697 + 65f0910 commit 85df47e

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * observability/monitoring/managing-alerts.adoc
4+
5+
:_mod-docs-content-type: CONCEPT
6+
[id="configuring-different-alert-receivers-for-default-platform-alerts-and-user-defined-alerts_{context}"]
7+
= Configuring different alert receivers for default platform alerts and user-defined alerts
8+
9+
You can configure different alert receivers for default platform alerts and user-defined alerts to ensure the following results:
10+
11+
* All default platform alerts are sent to a receiver owned by the team in charge of these alerts.
12+
* All user-defined alerts are sent to another receiver so that the team can focus only on platform alerts.
13+
14+
You can achieve this by using the `openshift_io_alert_source="platform"` label that is added by the Cluster Monitoring Operator to all platform alerts:
15+
16+
* Use the `openshift_io_alert_source="platform"` matcher to match default platform alerts.
17+
* Use the `openshift_io_alert_source!="platform"` or `'openshift_io_alert_source=""'` matcher to match user-defined alerts.
18+
19+
[NOTE]
20+
====
21+
This configuration does not apply if you have enabled a separate instance of Alertmanager dedicated to user-defined alerts.
22+
====

observability/monitoring/managing-alerts.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ include::modules/monitoring-sending-notifications-to-external-systems.adoc[level
9292
ifndef::openshift-dedicated,openshift-rosa[]
9393
include::modules/monitoring-configuring-alert-receivers.adoc[leveloffset=+2]
9494
endif::openshift-dedicated,openshift-rosa[]
95+
// Configuring different alert receivers for default platform alerts and user-defined alerts
96+
include::modules/monitoring-configuring-different-alert-receivers-for-default-platform-alerts-and-user-defined-alerts.adoc[leveloffset=+2]
9597
// Creating alert routing for user-defined projects
9698
include::modules/monitoring-creating-alert-routing-for-user-defined-projects.adoc[leveloffset=+2]
9799

0 commit comments

Comments
 (0)