12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- # Capacity
- template: cockroachdb_used_storage_capacity
- on: cockroachdb.storage_used_capacity_percentage
- class: Utilization
- type: Database
- component: CockroachDB
- calc: $total
- units: %
- every: 10s
- warn: $this > (($status >= $WARNING) ? (80) : (85))
- crit: $this > (($status == $CRITICAL) ? (85) : (95))
- delay: down 15m multiplier 1.5 max 1h
- info: storage capacity utilization
- to: dba
- template: cockroachdb_used_usable_storage_capacity
- on: cockroachdb.storage_used_capacity_percentage
- class: Utilization
- type: Database
- component: CockroachDB
- calc: $usable
- units: %
- every: 10s
- warn: $this > (($status >= $WARNING) ? (80) : (85))
- crit: $this > (($status == $CRITICAL) ? (85) : (95))
- delay: down 15m multiplier 1.5 max 1h
- info: storage usable space utilization
- to: dba
- # Replication
- template: cockroachdb_unavailable_ranges
- on: cockroachdb.ranges_replication_problem
- class: Errors
- type: Database
- component: CockroachDB
- calc: $unavailable
- units: num
- every: 10s
- warn: $this > 0
- delay: down 15m multiplier 1.5 max 1h
- info: number of ranges with fewer live replicas than needed for quorum
- to: dba
- template: cockroachdb_underreplicated_ranges
- on: cockroachdb.ranges_replication_problem
- class: Errors
- type: Database
- component: CockroachDB
- calc: $under_replicated
- units: num
- every: 10s
- warn: $this > 0
- delay: down 15m multiplier 1.5 max 1h
- info: number of ranges with fewer live replicas than the replication target
- to: dba
- # FD
- template: cockroachdb_open_file_descriptors_limit
- on: cockroachdb.process_file_descriptors
- class: Utilization
- type: Database
- component: CockroachDB
- calc: $open/$sys_fd_softlimit * 100
- units: %
- every: 10s
- warn: $this > 80
- delay: down 15m multiplier 1.5 max 1h
- info: open file descriptors utilization (against softlimit)
- to: dba
|