Add alert for process open FDs

This commit is contained in:
Simon Ser 2022-01-18 16:22:05 +00:00 committed by Drew DeVault
parent 184e0fd51d
commit 874390245a
1 changed files with 10 additions and 0 deletions

10
process_rules.yml Normal file
View File

@ -0,0 +1,10 @@
groups:
- name: process
rules:
- alert: High file descriptor usage
expr: process_open_fds / process_max_fds > 0.75
for: 2m
labels:
severity: important
annotations:
summary: "Job {{ $labels.job }} on instance {{ $labels.instance }} has high FD usage"