From ab7797fa67c8d2912bb983bfcf3f49a7e1984b54 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Sun, 14 Jan 2024 15:19:36 +0100 Subject: [PATCH] btrfs doesnt subscribe to that idea :copium: --- ansible/plays/services/mimir/rules/cadvisor.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ansible/plays/services/mimir/rules/cadvisor.yaml b/ansible/plays/services/mimir/rules/cadvisor.yaml index 6525097..4e4512c 100644 --- a/ansible/plays/services/mimir/rules/cadvisor.yaml +++ b/ansible/plays/services/mimir/rules/cadvisor.yaml @@ -35,14 +35,14 @@ groups: annotations: summary: Container Memory usage (instance {{ $labels.instance }}) description: "Container Memory usage is above 80%\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" - - alert: ContainerVolumeUsage - expr: '(1 - (sum(container_fs_inodes_free{name!=""}) BY (instance) / sum(container_fs_inodes_total) BY (instance))) * 100 > 80' - for: 2m - labels: - severity: warning - annotations: - summary: Container Volume usage (instance {{ $labels.instance }}) - description: "Container Volume usage is above 80%\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" + # - alert: ContainerVolumeUsage + # expr: '(1 - (sum(container_fs_inodes_free{name!=""}) BY (instance) / sum(container_fs_inodes_total) BY (instance))) * 100 > 80' + # for: 2m + # labels: + # severity: warning + # annotations: + # summary: Container Volume usage (instance {{ $labels.instance }}) + # description: "Container Volume usage is above 80%\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" - alert: ContainerHighThrottleRate expr: 'rate(container_cpu_cfs_throttled_seconds_total[3m]) > 1' for: 2m