fix(health): fix incorrect Redis dimension names (#13296)
Ilya Mashchenko committed
Jul 4, 2022 at 14:25 UTC
05748b54b600abe7eed5c97b702a948538b4d155
1 file changed
+4
-3
health/health.d/redis.conf
+4
-3
@@ -6,7 +6,7 @@
6
type: KV Storage
7
component: Redis
8
every: 10s
9
- crit: $rdb_last_bgsave_status != 0
9
+ crit: $last_bgsave != nan AND $last_bgsave != 0
10
units: ok/failed
11
info: status of the last RDB save operation (0: ok, 1: error)
12
delay: down 5m multiplier 1.5 max 1h
@@ -19,8 +19,9 @@ component: Redis
19
type: KV Storage
20
component: Redis
21
every: 10s
22
- warn: $rdb_bgsave_in_progress > 600
23
- crit: $rdb_bgsave_in_progress > 1200
22
+ calc: $current_bgsave_time
23
+ warn: $this > 600
24
+ crit: $this > 1200
25
units: seconds
26
info: duration of the on-going RDB save operation
27
delay: down 5m multiplier 1.5 max 1h