summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2021-06-10 17:08:10 +0300
committerGitHub <noreply@github.com>2021-06-10 17:08:10 +0300
commit9e3e7d9678fd654827c7b36d90ad5daf97b14477 (patch)
tree2894ef43a948f2b5c1adf7ab4bca56001cc4202f /health
parenta71f522af7c7432347b1afb59e2bcac73454c701 (diff)
health: update cockroachdb alarms (#11235)
Diffstat (limited to 'health')
-rw-r--r--health/health.d/cockroachdb.conf39
1 files changed, 0 insertions, 39 deletions
diff --git a/health/health.d/cockroachdb.conf b/health/health.d/cockroachdb.conf
index 2c913a2cf8..88011b42af 100644
--- a/health/health.d/cockroachdb.conf
+++ b/health/health.d/cockroachdb.conf
@@ -44,19 +44,6 @@ component: CockroachDB
info: number of ranges with fewer live replicas than the replication target
to: dba
- template: cockroachdb_replicas_leaders_not_leaseholders
- on: cockroachdb.replicas_leaders
- class: Database
-component: CockroachDB
- type: Utilization
- calc: $replicas_leaders_not_leaseholders
- units: num
- every: 10s
- warn: $this > 0
- delay: down 15m multiplier 1.5 max 1h
- info: number of replicas that are Raft leaders whose range lease is held by another store
- to: dba
-
# FD
template: cockroachdb_open_file_descriptors_limit
@@ -71,29 +58,3 @@ component: CockroachDB
delay: down 15m multiplier 1.5 max 1h
info: open file descriptors utilization (against softlimit)
to: dba
-
-# SQL
-
- template: cockroachdb_sql_active_connections
- on: cockroachdb.sql_connections
- class: Database
-component: CockroachDB
- type: Utilization
- calc: $sql_conns
- units: active connections
- every: 10s
- info: number of active SQL connections
- to: dba
-
- template: cockroachdb_sql_executed_statements_total_last_5m
- on: cockroachdb.sql_statements_total
- class: Database
-component: CockroachDB
- type: Workload
- lookup: sum -5m absolute of sql_query_count
- units: statements
- every: 10s
- warn: $this == 0 AND $cockroachdb_sql_active_connections != 0
- delay: down 15m up 30s multiplier 1.5 max 1h
- info: number of executed SQL statements in the last 5 minutes
- to: dba