Note:
Cockroach Labs supports the current stable release and two releases prior. Therefore, this version will no longer be supported after the Spring 2019 release.

The Runtime dashboard in the CockroachDB Admin UI lets you monitor runtime metrics for you cluster, such as node count, CPU time, and memory usage. To view this dashboard, access the Admin UI and then select Dashboard > Runtime.

The Runtime dashboard displays the following time series graphs:

Node Count

CockroachDB Admin UI Node Count

In the node view as well as the cluster view, the graph shows the number of live nodes in the cluster.

A dip in the graph indicates decommissioned nodes, dead nodes, or nodes that are not responding. To troubleshoot the dip in the graph, refer to the Summary panel.

Memory Usage

CockroachDB Admin UI Memory Usage

  • In the node view, the graph shows the memory in use for the selected node.

  • In the cluster view, the graph shows the memory in use across all nodes in the cluster.

On hovering over the graph, the values for the following metrics are displayed:

Metric Description
RSS Total memory in use by CockroachDB.
Go Allocated Memory allocated by the Go layer.
Go Total Total memory managed by the Go layer.
CGo Allocated Memory allocated by the C layer.
CGo Total Total memory managed by the C layer.
Note:
If Go Total or CGO Total fluctuates or grows steadily over time, contact us.

CPU Time

CockroachDB Admin UI CPU Time

  • In the node view, the graph shows the CPU time used by CockroachDB user and system-level operations for the selected node.

In the cluster view, the graph shows the CPU time used by CockroachDB user and system-level operations across all nodes in the cluster.

On hovering over the CPU Time graph, the values for the following metrics are displayed:

Metric Description
User CPU Time Total CPU seconds per second used by the CockroachDB process across all nodes.
Sys CPU Time Total CPU seconds per second used by the system calls made by CockroachDB across all nodes.
GC Pause Time Time required by the Garbage Collection process of Go.
Note:
The GC Pause Time metric is important for CockroachDB developers. For monitoring CockroachDB, it is sufficient to monitor the User CPU Time and Sys CPU Time.

Other Graphs

The Runtime dashboard shows other time series graphs that are important for CockroachDB developers:

  • Goroutine Count
  • GC Runs
  • GC Pause Time

For monitoring CockroachDB, it is sufficient to use the Node Count, Memory Usage, and CPU Time graphs.



Yes No