Skip to content

Commit 38727e2

Browse files
richardfelklGerrit Code Review
authored andcommitted
Merge "Cosmetic changes for alerts"
2 parents eda3823 + 97242f1 commit 38727e2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

linux/meta/prometheus.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ server:
1212
service: system
1313
annotations:
1414
summary: "{%- endraw %}{{ cpu_usage_threshold }}{%- raw %}% CPU usage"
15-
description: "The average CPU usage on the {{ $labels.host }} node is {{ $value }}% for at least 2 minutes."
15+
description: "The average CPU usage on the {{ $labels.host }} node is {{ $value }}% for 2 minutes."
1616
SystemLoadTooHighWarning:
1717
{%- endraw %}
1818
{%- set load_threshold = monitoring.system_load_threshold.warn|float %}
@@ -25,7 +25,7 @@ server:
2525
service: system
2626
annotations:
2727
summary: "System load is {%- endraw %}{{ load_threshold }}{%- raw %}"
28-
description: "System load per CPU on the {{ $labels.host }} node is {{ $value }} for at least 5 minutes."
28+
description: "The system load per CPU on the {{ $labels.host }} node is {{ $value }} for 5 minutes."
2929
SystemLoadTooHighCritical:
3030
{%- endraw %}
3131
{%- set load_threshold = monitoring.system_load_threshold.crit|float %}
@@ -38,7 +38,7 @@ server:
3838
service: system
3939
annotations:
4040
summary: "System load is {%- endraw %}{{ load_threshold }}{%- raw %}"
41-
description: "System load per CPU on the {{ $labels.host }} node is {{ $value }} for at least 5 minutes."
41+
description: "The system load per CPU on the {{ $labels.host }} node is {{ $value }} for 5 minutes."
4242
SystemDiskFullWarning:
4343
{%- endraw %}
4444
{%- set disk_threshold = monitoring.disk_usage_percentage.warn|float %}
@@ -51,7 +51,7 @@ server:
5151
service: system
5252
annotations:
5353
summary: "Disk partition {{ $labels.path }} is {%- endraw %} {{ disk_threshold }}{%- raw %}% full"
54-
description: "The disk partition ({{ $labels.path }}) on the {{ $labels.host }} node is {{ $value }}% full for at least 2 minutes."
54+
description: "The disk partition ({{ $labels.path }}) on the {{ $labels.host }} node is {{ $value }}% full for 2 minutes."
5555
SystemDiskFullMajor:
5656
{%- endraw %}
5757
{%- set disk_threshold = monitoring.disk_usage_percentage.major|float %}
@@ -64,7 +64,7 @@ server:
6464
service: system
6565
annotations:
6666
summary: "Disk partition {{ $labels.path }} is {%- endraw %} {{ disk_threshold }}{%- raw %}% full"
67-
description: "The disk partition ({{ $labels.path }}) on the {{ $labels.host }} node is {{ $value }}% full for at least 2 minutes."
67+
description: "The disk partition ({{ $labels.path }}) on the {{ $labels.host }} node is {{ $value }}% full for 2 minutes."
6868
SystemDiskInodesFullWarning:
6969
{%- endraw %}
7070
{%- set inodes_threshold = monitoring.inodes_usage_percentage.warn|float %}
@@ -76,7 +76,7 @@ server:
7676
service: system
7777
annotations:
7878
summary: "{{ inodes_threshold }}{%- raw %}% of inodes for {{ $labels.path }} are used"
79-
description: "The {{ $labels.host }} node uses {{ $value }}% of disk inodes in the {{ $labels.path }} volume for at least 2 minutes."
79+
description: "The {{ $labels.host }} node uses {{ $value }}% of disk inodes in the {{ $labels.path }} volume for 2 minutes."
8080
SystemDiskInodesFullMajor:
8181
{%- endraw %}
8282
{%- set inodes_threshold = monitoring.inodes_usage_percentage.major|float %}
@@ -88,7 +88,7 @@ server:
8888
service: system
8989
annotations:
9090
summary: "{{ inodes_threshold }}{%- raw %}% of inodes for {{ $labels.path }} are used"
91-
description: "The {{ $labels.host }} node uses {{ $value }}% of disk inodes in the {{ $labels.path }} volume for at least 2 minutes."
91+
description: "The {{ $labels.host }} node uses {{ $value }}% of disk inodes in the {{ $labels.path }} volume for 2 minutes."
9292
SystemDiskErrorsTooHigh:
9393
if: >-
9494
increase(hdd_errors_total[1m]) > 0
@@ -98,7 +98,7 @@ server:
9898
service: system
9999
annotations:
100100
summary: "Disk {{ $labels.device }} is failing"
101-
description: "The {{ $labels.device }} disk on the {{ $labels.host }} node is reporting errors for at least 5 minutes."
101+
description: "The {{ $labels.device }} disk on the {{ $labels.host }} node is reporting errors for 5 minutes."
102102
SystemMemoryFullWarning:
103103
{%- endraw %}
104104
{%- set mem_threshold = monitoring.memory_usage_percentage.warn|float %}
@@ -110,7 +110,7 @@ server:
110110
service: system
111111
annotations:
112112
summary: "{{ mem_threshold }}{%- raw %}% of memory is used"
113-
description: "The {{ $labels.host }} node uses {{ $value }}% of memory for at least 2 minutes."
113+
description: "The {{ $labels.host }} node uses {{ $value }}% of memory for 2 minutes."
114114
SystemMemoryFullMajor:
115115
{%- endraw %}
116116
{%- set mem_threshold = monitoring.memory_usage_percentage.major|float %}
@@ -122,7 +122,7 @@ server:
122122
service: system
123123
annotations:
124124
summary: "{{ mem_threshold }}{%- raw %}% of memory is used"
125-
description: "The {{ $labels.host }} node uses {{ $value }}% of memory for at least 2 minutes."
125+
description: "The {{ $labels.host }} node uses {{ $value }}% of memory for 2 minutes."
126126
SystemSwapFullWarning:
127127
{%- endraw %}
128128
{%- set swap_threshold = monitoring.swap_usage_percentage.warn|float %}
@@ -134,7 +134,7 @@ server:
134134
service: system
135135
annotations:
136136
summary: "{{ swap_threshold }}{%- raw %}% of swap is used"
137-
description: "The swap on the {{ $labels.host }} node is {{ $value }}% used for at least 2 minutes."
137+
description: "The swap on the {{ $labels.host }} node is {{ $value }}% used for 2 minutes."
138138
SystemSwapFullMinor:
139139
{%- endraw %}
140140
{%- set swap_threshold = monitoring.swap_usage_percentage.minor|float %}
@@ -146,7 +146,7 @@ server:
146146
service: system
147147
annotations:
148148
summary: "{{ swap_threshold }}{%- raw %}% of swap is used"
149-
description: "The swap on the {{ $labels.host }} node is {{ $value }}% used for at least 2 minutes."
149+
description: "The swap on the {{ $labels.host }} node is {{ $value }}% used for 2 minutes."
150150
SystemRxPacketsDroppedTooHigh:
151151
{%- endraw %}
152152
{%- set net_rx_dropped_threshold = monitoring.rx_packets_dropped_threshold.warn %}

0 commit comments

Comments
 (0)