fix: address PR review feedback for process-exporter rules

- Rename service from "Process" to "Process Exporter" for clarity
- Fix grammar: "file descriptors usage" → "file descriptor usage"
- Clarify CPU alert description as core-equivalent percentage
- Rename "high disk IO" to "high disk write IO" for accuracy
This commit is contained in:
Samuel Berthe 2026-03-16 03:30:09 +01:00
parent c0b9c96a6f
commit 08b614465e
2 changed files with 6 additions and 6 deletions

View file

@ -51,7 +51,7 @@ Collection available here: **[https://samber.github.io/awesome-prometheus-alerts
- [Proxmox VE](https://samber.github.io/awesome-prometheus-alerts/rules#proxmox-ve)
- [Netdata](https://samber.github.io/awesome-prometheus-alerts/rules#netdata)
- [eBPF](https://samber.github.io/awesome-prometheus-alerts/rules#ebpf)
- [Process](https://samber.github.io/awesome-prometheus-alerts/rules#process)
- [Process Exporter](https://samber.github.io/awesome-prometheus-alerts/rules#process-exporter)
#### Databases and brokers

View file

@ -742,7 +742,7 @@ groups:
severity: warning
for: 5m
- name: Process
- name: Process Exporter
exporters:
- name: ncabatoff/process-exporter
slug: process-exporter
@ -761,13 +761,13 @@ groups:
comments: |
Threshold of 4GB is arbitrary and depends on the process being monitored. Adjust per group.
- name: Process exporter high CPU usage
description: "Process group {{ $labels.groupname }} is using {{ $value }}% CPU. (instance {{ $labels.instance }})"
description: "Process group {{ $labels.groupname }} is using {{ $value }}% CPU (core-equivalent). (instance {{ $labels.instance }})"
query: 'rate(namedprocess_namegroup_cpu_seconds_total[5m]) * 100 > 80'
severity: warning
for: 5m
comments: |
Threshold of 80% is per-core. Adjust based on expected workload.
- name: Process exporter high file descriptors usage
Value is core-equivalent %: 100% = 1 full core, 200% = 2 cores, etc. Threshold of 80% is per-core. Adjust based on expected workload.
- name: Process exporter high file descriptor usage
description: "Process group {{ $labels.groupname }} is using more than 80% of its file descriptor limit. (instance {{ $labels.instance }})"
query: 'namedprocess_namegroup_worst_fd_ratio > 0.8'
severity: warning
@ -796,7 +796,7 @@ groups:
for: 5m
comments: |
Threshold of 10000 switches/s is a rough default. Adjust based on the workload profile.
- name: Process exporter high disk IO
- name: Process exporter high disk write IO
description: "Process group {{ $labels.groupname }} is performing {{ $value | humanize }}B/s of disk writes. (instance {{ $labels.instance }})"
query: 'rate(namedprocess_namegroup_write_bytes_total[5m]) > 100e+06'
severity: warning