mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 17:07:24 +08:00
14 lines
460 B
YAML
14 lines
460 B
YAML
groups:
|
|
|
|
- name: JvmExporter
|
|
|
|
rules:
|
|
|
|
- alert: JvmMemoryFillingUp
|
|
expr: '(sum by (instance)(jvm_memory_used_bytes{area="heap"}) / sum by (instance)(jvm_memory_max_bytes{area="heap"})) * 100 > 80'
|
|
for: 2m
|
|
labels:
|
|
severity: warning
|
|
annotations:
|
|
summary: JVM memory filling up (instance {{ $labels.instance }})
|
|
description: "JVM memory is filling up (> 80%)\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|