fix(monitoring): Disable ContainerLowMemoryUsage alert
This commit is contained in:
@@ -80,11 +80,11 @@ groups:
|
|||||||
summary: Container Low CPU utilization (instance {{ $labels.instance }})
|
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 }}"
|
description: "Container CPU utilization is under 20% for 1 week. Consider reducing the allocated CPU.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
||||||
- alert: ContainerLowMemoryUsage
|
# - 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'
|
# 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
|
# for: 7d
|
||||||
labels:
|
# labels:
|
||||||
severity: info
|
# severity: info
|
||||||
annotations:
|
# annotations:
|
||||||
summary: Container Low Memory usage (instance {{ $labels.instance }})
|
# 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 }}"
|
# 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