Monitoring
Prometheus metrics, health checks and range status.
Every node serves metrics and the health check on its administration port (27200 by default).
/healthz
Returns 200 if the node is serving and 503 if not, with no body and no credentials. Use it in your load balancer or
orchestrator.
/metrics
Prometheus exposition format. It asks for a client certificate of a user with the clusterMonitor role.
| Metric | What it measures |
|---|---|
teseladb_up | The node is running |
teseladb_ranges | Ranges with a replica on this node |
teseladb_range_applied_index{range} | Last applied entry of each replica |
teseladb_range_leader{range} | Whether this node leads that range |
You can also read them with the CLI:
Shell
teseladb admin metricsRanges
Shell
teseladb admin ranges --collection shop.ordersShows each range with its bounds, replicas and leader. From mongosh, serverStatus, currentOp, $collStats and
the profiler have MongoDB's shape.