Visualization and monitoring solutions
Visualization and monitoring solutions  /  Monitor CockroachDB
CockroachDB logo

Monitor CockroachDB easily with Grafana

Easily monitor CockroachDB, a cloud native SQL database for building global, scalable cloud services that survive disasters, with Grafana Cloud’s out-of-the-box monitoring solution. The Grafana Cloud forever free tier includes 3 users and up to 10k metrics series to support your monitoring needs.

Key metrics included

:cockroachdb_capacity_available:ratio
build_timestamp
capacity
capacity_available
capacity_reserved
clock_offset_meannanos
cluster:cockroachdb_capacity_available:ratio
cockroachdb_build_timestamp
cockroachdb_capacity
cockroachdb_capacity_available
cockroachdb_liveness_livenodes
cockroachdb_ranges_unavailable
cockroachdb_replicas_leaders_not_leaseholders
cockroachdb_sys_fd_open
cockroachdb_sys_fd_softlimit
cockroachdb_sys_uptime
keybytes
livebytes
liveness_livenodes
raft_process_commandcommit_latency_bucket
raft_process_logcommit_latency_bucket
raft_rocksdb_block_cache_hits
raft_rocksdb_block_cache_misses
raft_rocksdb_num_sstables
raft_rocksdb_read_amplification
raftlog_behind
raftlog_selfbehind
raftlog_truncated
range_adds
range_removes
range_snapshots_generated
range_snapshots_normal_applied
range_snapshots_preemptive_applied
range_splits
ranges
ranges_unavailable
ranges_underreplicated
rebalancing_writespersecond
replicas
replicas_leaders
replicas_leaders_not_leaseholders
replicas_leaseholders
replicas_quiescent
replicas_reserved
rocksdb_block_cache_hits
rocksdb_block_cache_misses
rocksdb_num_sstables
rocksdb_read_amplification
round_trip_latency_bucket
sql_bytesin
sql_bytesout
sql_conns
sql_ddl_count
sql_delete_count
sql_exec_latency_bucket
sql_insert_count
sql_select_count
sql_txn_abort_count
sql_txn_begin_count
sql_txn_commit_count
sql_txn_rollback_count
sql_update_count
sys_cgo_allocbytes
sys_cgo_totalbytes
sys_cgocalls
sys_cpu_sys_ns
sys_cpu_user_ns
sys_fd_open
sys_fd_softlimit
sys_gc_count
sys_gc_pause_ns
sys_go_allocbytes
sys_go_totalbytes
sys_goroutines
sys_rss
sys_uptime
sysbytes
up
valbytes

Key alerting rules included

CockroachInstanceFlapping (Warning)
CockroachLivenessMismatch (Warning)
CockroachVersionMismatch (Warning)
CockroachStoreDiskLow (Critical)
CockroachClusterDiskLow (Critical)
CockroachUnavailableRanges (Critical)
CockroachNoLeaseRanges (Warning)
CockroachHighOpenFDCount (Warning)