btrfs doesnt subscribe to that idea :copium:

This commit is contained in:
Tobias Manske 2024-01-14 15:19:36 +01:00
parent 125dfee689
commit dc8651be1a
Signed by: tobias
GPG Key ID: 9164B527694A0709

View File

@ -35,14 +35,14 @@ groups:
annotations: annotations:
summary: Container Memory usage (instance {{ $labels.instance }}) summary: Container Memory usage (instance {{ $labels.instance }})
description: "Container Memory usage is above 80%\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" description: "Container Memory usage is above 80%\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
- alert: ContainerVolumeUsage # - alert: ContainerVolumeUsage
expr: '(1 - (sum(container_fs_inodes_free{name!=""}) BY (instance) / sum(container_fs_inodes_total) BY (instance))) * 100 > 80' # expr: '(1 - (sum(container_fs_inodes_free{name!=""}) BY (instance) / sum(container_fs_inodes_total) BY (instance))) * 100 > 80'
for: 2m # for: 2m
labels: # labels:
severity: warning # severity: warning
annotations: # annotations:
summary: Container Volume usage (instance {{ $labels.instance }}) # summary: Container Volume usage (instance {{ $labels.instance }})
description: "Container Volume usage is above 80%\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" # description: "Container Volume usage is above 80%\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
- alert: ContainerHighThrottleRate - alert: ContainerHighThrottleRate
expr: 'rate(container_cpu_cfs_throttled_seconds_total[3m]) > 1' expr: 'rate(container_cpu_cfs_throttled_seconds_total[3m]) > 1'
for: 2m for: 2m