prometheus: remove redundant '%' symbols
This commit is contained in:
parent
934137903a
commit
94ba30cc3b
2 changed files with 13 additions and 13 deletions
|
@ -16,7 +16,7 @@ prometheus__rules_node:
|
|||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
FreeMemory: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
FreeMemory: !unsafe "{{ $value | humanizePercentage }}"
|
||||
- alert: HostSwapIsFillingUp
|
||||
expr:
|
||||
(
|
||||
|
@ -29,7 +29,7 @@ prometheus__rules_node:
|
|||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
UsedSwap: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
UsedSwap: !unsafe "{{ $value | humanizePercentage }}"
|
||||
- alert: HostPhysicalComponentTooHot
|
||||
expr:
|
||||
node_hwmon_temp_celsius > 79
|
||||
|
@ -103,7 +103,7 @@ prometheus__rules_node:
|
|||
severity: critical
|
||||
annotations:
|
||||
Mountpoint: !unsafe "{{ $labels.mountpoint }}"
|
||||
FreeSpace: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
FreeSpace: !unsafe "{{ $value | humanizePercentage }}"
|
||||
- alert: HostConntrackLimit
|
||||
expr:
|
||||
(
|
||||
|
@ -114,7 +114,7 @@ prometheus__rules_node:
|
|||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
Filled: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
Filled: !unsafe "{{ $value | humanizePercentage }}"
|
||||
- alert: HostClockSkew
|
||||
expr:
|
||||
(
|
||||
|
@ -149,7 +149,7 @@ prometheus__rules_node:
|
|||
severity: warning
|
||||
annotations:
|
||||
Mountpoint: !unsafe "{{ $labels.mountpoint }}"
|
||||
FreeInodes: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
FreeInodes: !unsafe "{{ $value | humanizePercentage }}"
|
||||
- alert: CpuUsage
|
||||
expr:
|
||||
(
|
||||
|
@ -161,7 +161,7 @@ prometheus__rules_node:
|
|||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
Usage: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
Usage: !unsafe "{{ $value | humanizePercentage }}"
|
||||
- alert: SystemdServiceFailed
|
||||
expr:
|
||||
node_systemd_unit_state{state="failed"} == 1
|
||||
|
@ -196,5 +196,5 @@ prometheus__rules_node:
|
|||
severity: warning
|
||||
annotations:
|
||||
Disk: !unsafe "{{ $labels.disk }}"
|
||||
Steal: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
Steal: !unsafe "{{ $value | humanizePercentage }}"
|
||||
...
|
||||
|
|
|
@ -28,7 +28,7 @@ prometheus__rules_switch:
|
|||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
ErrorRate: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
ErrorRate: !unsafe "{{ $value | humanizePercentage }}"
|
||||
Interface: !unsafe "{{ $labels.ifName }}
|
||||
{{ if $labels.ifAlias }}- {{ $labels.ifAlias }}{{ end }}"
|
||||
- alert: SwitchOutErrors
|
||||
|
@ -41,7 +41,7 @@ prometheus__rules_switch:
|
|||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
ErrorRate: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
ErrorRate: !unsafe "{{ $value | humanizePercentage }}"
|
||||
Interface: !unsafe "{{ $labels.ifName }}
|
||||
{{ if $labels.ifAlias }}- {{ $labels.ifAlias }}{{ end }}"
|
||||
- alert: SwitchInLinkUsage
|
||||
|
@ -52,7 +52,7 @@ prometheus__rules_switch:
|
|||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
Usage: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
Usage: !unsafe "{{ $value | humanizePercentage }}"
|
||||
Interface: !unsafe "{{ $labels.ifName }}
|
||||
{{ if $labels.ifAlias }}- {{ $labels.ifAlias }}{{ end }}"
|
||||
- alert: SwitchInLinkUsage
|
||||
|
@ -63,7 +63,7 @@ prometheus__rules_switch:
|
|||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
Usage: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
Usage: !unsafe "{{ $value | humanizePercentage }}"
|
||||
Interface: !unsafe "{{ $labels.ifName }}
|
||||
{{ if $labels.ifAlias }}- {{ $labels.ifAlias }}{{ end }}"
|
||||
- alert: SwitchOutLinkUsage
|
||||
|
@ -74,7 +74,7 @@ prometheus__rules_switch:
|
|||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
Usage: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
Usage: !unsafe "{{ $value | humanizePercentage }}"
|
||||
Interface: !unsafe "{{ $labels.ifName }}
|
||||
{{ if $labels.ifAlias }}- {{ $labels.ifAlias }}{{ end }}"
|
||||
- alert: SwitchOutLinkUsage
|
||||
|
@ -85,7 +85,7 @@ prometheus__rules_switch:
|
|||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
Usage: !unsafe "{{ $value | humanizePercentage }} %"
|
||||
Usage: !unsafe "{{ $value | humanizePercentage }}"
|
||||
Interface: !unsafe "{{ $labels.ifName }}
|
||||
{{ if $labels.ifAlias }}- {{ $labels.ifAlias }}{{ end }}"
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue