diff --git a/monitoring/prometheus/alerts/google-cadvisor.yml b/monitoring/prometheus/alerts/google-cadvisor.yml index c427a55..1bf7e20 100644 --- a/monitoring/prometheus/alerts/google-cadvisor.yml +++ b/monitoring/prometheus/alerts/google-cadvisor.yml @@ -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 }}"