mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-25 10:56:57 +08:00
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:
parent
c0b9c96a6f
commit
08b614465e
2 changed files with 6 additions and 6 deletions
|
|
@ -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)
|
- [Proxmox VE](https://samber.github.io/awesome-prometheus-alerts/rules#proxmox-ve)
|
||||||
- [Netdata](https://samber.github.io/awesome-prometheus-alerts/rules#netdata)
|
- [Netdata](https://samber.github.io/awesome-prometheus-alerts/rules#netdata)
|
||||||
- [eBPF](https://samber.github.io/awesome-prometheus-alerts/rules#ebpf)
|
- [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
|
#### Databases and brokers
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -742,7 +742,7 @@ groups:
|
||||||
severity: warning
|
severity: warning
|
||||||
for: 5m
|
for: 5m
|
||||||
|
|
||||||
- name: Process
|
- name: Process Exporter
|
||||||
exporters:
|
exporters:
|
||||||
- name: ncabatoff/process-exporter
|
- name: ncabatoff/process-exporter
|
||||||
slug: process-exporter
|
slug: process-exporter
|
||||||
|
|
@ -761,13 +761,13 @@ groups:
|
||||||
comments: |
|
comments: |
|
||||||
Threshold of 4GB is arbitrary and depends on the process being monitored. Adjust per group.
|
Threshold of 4GB is arbitrary and depends on the process being monitored. Adjust per group.
|
||||||
- name: Process exporter high CPU usage
|
- 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'
|
query: 'rate(namedprocess_namegroup_cpu_seconds_total[5m]) * 100 > 80'
|
||||||
severity: warning
|
severity: warning
|
||||||
for: 5m
|
for: 5m
|
||||||
comments: |
|
comments: |
|
||||||
Threshold of 80% is per-core. Adjust based on expected workload.
|
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 descriptors usage
|
- 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 }})"
|
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'
|
query: 'namedprocess_namegroup_worst_fd_ratio > 0.8'
|
||||||
severity: warning
|
severity: warning
|
||||||
|
|
@ -796,7 +796,7 @@ groups:
|
||||||
for: 5m
|
for: 5m
|
||||||
comments: |
|
comments: |
|
||||||
Threshold of 10000 switches/s is a rough default. Adjust based on the workload profile.
|
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 }})"
|
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'
|
query: 'rate(namedprocess_namegroup_write_bytes_total[5m]) > 100e+06'
|
||||||
severity: warning
|
severity: warning
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue