Skip to content

Commit 21c9d5e

Browse files
committed
100の位通知
1 parent 29591ca commit 21c9d5e

File tree

1 file changed

+8
-0
lines changed
  • itamae/roles/prometheus/templates/etc/prometheus

1 file changed

+8
-0
lines changed

itamae/roles/prometheus/templates/etc/prometheus/rules.yml

+8
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,11 @@ groups:
1313
annotations:
1414
summary: CO2モニタリング停止
1515
description: "CO2モニタリングが停止しています。"
16+
- alert: ValueHundredsChanged
17+
expr: floor(udco2s_CO2{job="ud_cos2"} / 100) != floor(udco2s_CO2{job="ud_cos2"} / 100 offset 1m)
18+
for: 0m
19+
labels:
20+
severity: info
21+
annotations:
22+
summary: C02濃度お知らせ
23+
description: "現在の濃度: {{ udco2s_CO2{job="ud_cos2"} }}ppm"

0 commit comments

Comments
 (0)