fix(monitoring): Disable ContainerLowMemoryUsage alert
This commit is contained in:
@@ -80,11 +80,11 @@ groups:
|
||||
summary: Container Low CPU utilization (instance {{ $labels.instance }})
|
||||
description: "Container CPU utilization is under 20% for 1 week. Consider reducing the allocated CPU.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
- alert: ContainerLowMemoryUsage
|
||||
expr: '(sum(container_memory_working_set_bytes{name!=""}) BY (instance, name) / sum(container_spec_memory_limit_bytes > 0) BY (instance, name) * 100) < 20'
|
||||
for: 7d
|
||||
labels:
|
||||
severity: info
|
||||
annotations:
|
||||
summary: Container Low Memory usage (instance {{ $labels.instance }})
|
||||
description: "Container Memory usage is under 20% for 1 week. Consider reducing the allocated memory.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
# - alert: ContainerLowMemoryUsage
|
||||
# expr: '(sum(container_memory_working_set_bytes{name!=""}) BY (instance, name) / sum(container_spec_memory_limit_bytes > 0) BY (instance, name) * 100) < 20'
|
||||
# for: 7d
|
||||
# labels:
|
||||
# severity: info
|
||||
# annotations:
|
||||
# summary: Container Low Memory usage (instance {{ $labels.instance }})
|
||||
# description: "Container Memory usage is under 20% for 1 week. Consider reducing the allocated memory.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
Reference in New Issue
Block a user