health: update cockroachdb alarms (#11235)
Ilya Mashchenko committed
Jun 10, 2021 at 17:08 UTC
9e3e7d9678fd654827c7b36d90ad5daf97b14477
1 file changed
-39
health/health.d/cockroachdb.conf
-39
@@ -44,19 +44,6 @@ component: CockroachDB
44
info: number of ranges with fewer live replicas than the replication target
45
to: dba
46
47
- template: cockroachdb_replicas_leaders_not_leaseholders
48
- on: cockroachdb.replicas_leaders
49
- class: Database
50
-component: CockroachDB
51
- type: Utilization
52
- calc: $replicas_leaders_not_leaseholders
53
- units: num
54
- every: 10s
55
- warn: $this > 0
56
- delay: down 15m multiplier 1.5 max 1h
57
- info: number of replicas that are Raft leaders whose range lease is held by another store
58
- to: dba
59
-
47
# FD
48
49
template: cockroachdb_open_file_descriptors_limit
@@ -71,29 +58,3 @@ component: CockroachDB
58
delay: down 15m multiplier 1.5 max 1h
59
info: open file descriptors utilization (against softlimit)
60
to: dba
74
-
75
-# SQL
76
-
77
- template: cockroachdb_sql_active_connections
78
- on: cockroachdb.sql_connections
79
- class: Database
80
-component: CockroachDB
81
- type: Utilization
82
- calc: $sql_conns
83
- units: active connections
84
- every: 10s
85
- info: number of active SQL connections
86
- to: dba
87
-
88
- template: cockroachdb_sql_executed_statements_total_last_5m
89
- on: cockroachdb.sql_statements_total
90
- class: Database
91
-component: CockroachDB
92
- type: Workload
93
- lookup: sum -5m absolute of sql_query_count
94
- units: statements
95
- every: 10s
96
- warn: $this == 0 AND $cockroachdb_sql_active_connections != 0
97
- delay: down 15m up 30s multiplier 1.5 max 1h
98
- info: number of executed SQL statements in the last 5 minutes
99
- to: dba