[v9.3.x] Fix documentation for notification policy object_matchers (#61606)
Fix documentation for notification policy object_matchers (#61602)
* Fix documentation
* Fix grammar
* Update docs/sources/alerting/set-up/provision-alerting-resources/file-provisioning/index.md
Co-authored-by: George Robinson <george.robinson@grafana.com>
Co-authored-by: George Robinson <george.robinson@grafana.com>
(cherry picked from commit be72e570cf)
Co-authored-by: Alex Moreno <alexander.moreno@grafana.com>
This commit is contained in:
co-authored by
Alex Moreno
parent
cda38a1ca4
commit
e01756ceed
+3
-3
@@ -524,9 +524,9 @@ policies:
|
||||
- severity =~ "warning|critical"
|
||||
# <list> a list of grafana-like matchers that an alert rule has to fulfill to match the node
|
||||
object_matchers:
|
||||
- alertname = CPUUsage
|
||||
- service_id-X = serviceX
|
||||
- severity =~ "warning|critical"
|
||||
- ['alertname', '=', 'CPUUsage']
|
||||
- ['service_id-X', '=', 'serviceX']
|
||||
- ['severity', '=~', 'warning|critical']
|
||||
# <list> Times when the route should be muted. These must match the name of a
|
||||
# mute time interval.
|
||||
# Additionally, the root node cannot have any mute times.
|
||||
|
||||
Reference in New Issue
Block a user