mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-23 18:06:58 +08:00
Improve JVM "JVM memory filling up" alert by summing up all the heap areas which include a separate entry for the Eden Space, Survivor Space and Tenured Gen.
This commit is contained in:
parent
3a352d08dc
commit
ebf402aa7d
1 changed files with 1 additions and 1 deletions
|
|
@ -1071,7 +1071,7 @@ groups:
|
||||||
rules:
|
rules:
|
||||||
- name: JVM memory filling up
|
- name: JVM memory filling up
|
||||||
description: JVM memory is filling up (> 80%)
|
description: JVM memory is filling up (> 80%)
|
||||||
query: '(jvm_memory_used_bytes{area="heap"} / jvm_memory_max_bytes{area="heap"}) * 100 > 80'
|
query: 'sum by (instance)(jvm_memory_used_bytes{area="heap"}) / sum by (instance)(jvm_memory_max_bytes{area="heap"}) * 100 > 80'
|
||||||
severity: warning
|
severity: warning
|
||||||
|
|
||||||
- name: Sidekiq
|
- name: Sidekiq
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue