Skip to content

Commit

Permalink
fix: escape in disk.rules
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabello committed Jan 16, 2025
1 parent 96024ef commit 123bb67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prometheus_alert_rules/disk.rules
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ groups:
The 6-hour-ahead prediction is made as a linear regression from the last 60 minutes of data.
- alert: HostDiskSpace
# some fstype are excluded because they are not relevant; see https://github.com/canonical/grafana-agent-operator/pull/233 for details
expr: used_disk_space{fstype!~"fuse\.lxcfs|fuse\.snapfuse", mountpoint!~"/run.*|/proc|/dev"} > 90
expr: used_disk_space{fstype!~"fuse\\.lxcfs|fuse\\.snapfuse", mountpoint!~"/run.*|/proc|/dev"} > 90
for: 0m
labels:
severity: critical
Expand Down

0 comments on commit 123bb67

Please sign in to comment.