mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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>
This commit is contained in:
parent
cd363cb037
commit
be72e570cf
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user