@cryptotaxi247 / netdata-1 / commits / 7e1e90cce

fix cockroachdb alarms (#15095)

Ilya Mashchenko committed May 24, 2023 at 17:57 UTC 7e1e90cce4ab1dd8a49af086c32f108e435e6bfa
1 file changed +5 -5
health/health.d/cockroachdb.conf
+5 -5
@@ -6,7 +6,7 @@
6 class: Utilization
7 type: Database
8 component: CockroachDB
9 - calc: $capacity_used_percent
9 + calc: $total
10 units: %
11 every: 10s
12 warn: $this > (($status >= $WARNING) ? (80) : (85))
@@ -20,7 +20,7 @@ component: CockroachDB
20 class: Utilization
21 type: Database
22 component: CockroachDB
23 - calc: $capacity_usable_used_percent
23 + calc: $usable
24 units: %
25 every: 10s
26 warn: $this > (($status >= $WARNING) ? (80) : (85))
@@ -36,7 +36,7 @@ component: CockroachDB
36 class: Errors
37 type: Database
38 component: CockroachDB
39 - calc: $ranges_unavailable
39 + calc: $unavailable
40 units: num
41 every: 10s
42 warn: $this > 0
@@ -49,7 +49,7 @@ component: CockroachDB
49 class: Errors
50 type: Database
51 component: CockroachDB
52 - calc: $ranges_underreplicated
52 + calc: $under_replicated
53 units: num
54 every: 10s
55 warn: $this > 0
@@ -64,7 +64,7 @@ component: CockroachDB
64 class: Utilization
65 type: Database
66 component: CockroachDB
67 - calc: $sys_fd_open/$sys_fd_softlimit * 100
67 + calc: $open/$sys_fd_softlimit * 100
68 units: %
69 every: 10s
70 warn: $this > 80