Key metrics to watch

What to look at in each node's metrics to know the cluster is healthy.

Watch a few metrics of each node to know the cluster is healthy before your users notice.

Requirements

  • Each node's /metrics in your metrics system, as in Metrics.

What to watch

SignalWhat it indicates
teseladb_up at 0 or missingThe node is not running or does not answer.
/healthz with 503The node is running but not serving.
teseladb_range_leader very uneven across nodesOne node leads many more ranges than the others.
teseladb_range_applied_index stuck on a replicaThat replica does not keep up with its range.
Errors by code in the REST APIRequests that fail, per route.

Check

With a node stopped on purpose in a test cluster, teseladb_up of that node stops arriving and your alert fires.

Common problems

  • An alert fires on every planned restart. Silence it during maintenance.

See also