Networking Dashboard

On this page Carat arrow pointing down

The Networking dashboard lets you monitor the networking of your cluster. This includes network traffic.

To view this dashboard, access the DB Console, click Metrics in the left-hand navigation, and select Dashboard > Networking.

For additional information about node connectivity conditions, refer to the Network page.

Dashboard navigation

Use the Graph menu to display metrics for your entire cluster or for a specific node.

To the right of the Graph and Dashboard menus, a time interval selector allows you to filter the view for a predefined or custom time interval. Use the navigation buttons to move to the previous, next, or current time interval. When you select a time interval, the same interval is selected in the SQL Activity pages. However, if you select 10 or 30 minutes, the interval defaults to 1 hour in SQL Activity pages.

When viewing graphs, two perpendicular lines will appear at your mouse cursor providing further insight into the data. The metric values are displayed in the legend under the graph. Click anywhere within the graph to pin the values in place, decoupling the values from your mouse movements. Click anywhere within the graph to cause the values to change with your mouse movements once more.

Hovering your mouse cursor over the graph title will display a tooltip with a description and the metrics used to create the graph.

The Networking dashboard displays the following time series graphs:

Network Bytes Received

  • In the node view, the graph shows the 10-second average of the number of network bytes received per second for all processes, including cockroach, on the node.

  • In the cluster view, the graph shows the 10-second average of the number of network bytes received for all processes, including cockroach, per second across all nodes.

Metric: sys.host.net.recv.bytes Bytes received on all network interfaces since the cockroach process started

Network Packets Received

  • In the node view, the graph shows the packets received on all network interfaces since the cockroach process started on the node.

  • In the cluster view, the graph shows the packets received on all network interfaces since the cockroach process started on each node in the cluster.

Metric: sys.host.net.recv.packets

Network Packet Errors on Receive

  • In the node view, the graph shows the errors on receiving packets on all network interfaces since the cockroach process started on the node.

  • In the cluster view, the graph shows the errors on receiving packets on all network interfaces since the cockroach process started on each node in the cluster.

Metric: sys.host.net.recv.err

Network Packet Drops on Receive

  • In the node view, the graph shows received packets that were dropped on all network interfaces since the cockroach process started on the node.

  • In the cluster view, the graph shows received packets that were dropped on all network interfaces since the cockroach process started on each node in the cluster.

Metric: sys.host.net.recv.drop

Network Bytes Sent

  • In the node view, the graph shows the 10-second average of the number of network bytes sent per second by all processes, including cockroach, on the node.

  • In the cluster view, the graph shows the 10-second average of the number of network bytes sent per second by all processes, including cockroach, across all nodes.

Metric: sys.host.net.send.bytes Bytes sent on all network interfaces since the cockroach process started

Network Packets Sent

  • In the node view, the graph shows packets sent on all network interfaces since the cockroach process started on the node.

  • In the cluster view,the graph shows packets sent on all network interfaces since the cockroach process started on each node in the cluster.

Metric: sys.host.net.send.packets

Network Packet Errors on Send

  • In the node view, the graph shows the errors on sending packets on all network interfaces since the cockroach process started on the node.

  • In the cluster view,the graph shows the errors on sending packets on all network interfaces since the cockroach process started on each node in the cluster.

Metric: sys.host.net.send.err

Network Packet Drops on Send

  • In the node view, the graph shows sent packets that were dropped on all network interfaces since the cockroach process started on the node.

  • In the cluster view,the graph shows sent packets that were dropped on all network interfaces since the cockroach process started on each node in the cluster.

Metric: sys.host.net.send.drop

RPC Heartbeat Latency: 50th percentile

RPC heartbeat latency is the round-trip latency for recent successful outgoing heartbeats. It is the distribution of round-trip latencies with other nodes. This only reflects successful heartbeats and measures gRPC overhead as well as possible head-of-line blocking. Elevated values in this metric may hint at network issues or saturation or both, but they are not proof of them. CPU overload can similarly elevate this metric. To conclusively diagnose network issues, look at OS-level metrics such as packet loss and retransmits. Heartbeats are not very frequent (every 1 second), so they may not capture rare or short-lived degradations.

  • In the node view, the graph shows the 50th percentile of RPC heartbeat latency for the node.

  • In the cluster view, the graph shows the 50th percentile of RPC heartbeat latency across all nodes in the cluster. There are lines for each node in the cluster.

Metric: round-trip-latency-p50

RPC Heartbeat Latency: 99th percentile

RPC heartbeat latency is the round-trip latency for recent successful outgoing heartbeats. It is the distribution of round-trip latencies with other nodes. This only reflects successful heartbeats and measures gRPC overhead as well as possible head-of-line blocking. Elevated values in this metric may hint at network issues or saturation or both, but they are not proof of them. CPU overload can similarly elevate this metric. To conclusively diagnose network issues, look at OS-level metrics such as packet loss and retransmits. Heartbeats are not very frequent (every 1 second), so they may not capture rare or short-lived degradations.

  • In the node view, the graph shows the 99th percentile of RPC heartbeat latency for the node.

  • In the cluster view, the graph shows the 99th percentile of RPC heartbeat latency across all nodes in the cluster. There are lines for each node in the cluster.

Metric: round-trip-latency-p99

Unhealthy RPC Connections

A healthy RPC connection is one that is “bidirectionally connected” and "heartbeating". For example, if Node 1 sends a request to Node 2 and Node 2 dials back (sends request back to Node 1), it ensures that communication is healthy in both directions. This graph shows the number of connections in an unhealthy state.

  • In the node view, the graph shows the number of outgoing connections on a node that are in an unhealthy state.

  • In the cluster view, the graph shows the number of outgoing connections on each node that are in an unhealthy state.

Metric: rpc.connection.unhealthy Gauge of current connections in an unhealthy state (not bidirectionally connected or heartbeating)

Proxy requests

  • In the node view, the graph shows the number of proxy attempts each gateway node is initiating.

  • In the cluster view, the graph shows the number of proxy attempts each gateway node in the cluster is initiating.

Metric: distsender.rpc.proxy.sent Number of attempts by a gateway to proxy a request to an unreachable leaseholder via a follower replica.

Monitoring for partial network partition

Operators should alert if the number of proxy requests (distsender.rpc.proxy.sent) divided by batches (distsender.batches) is greater than 1% over a 1-minute window. This indicates that the system likely has a partial network partition. You can verify which nodes are partitioned by navigating to the Network page and determining if the cockroach process has connectivity issues between nodes. To resolve this issue, you may need to work with your network administrator.

Proxy request errors

  • In the node view, the graph shows the number of proxy attempts by the gateway node that resulted in an error.

  • In the cluster view, the graph shows the number of proxy attempts by each gateway node in the cluster that resulted in an error.

Metric: distsender.rpc.proxy.err Number of attempts by a gateway to proxy a request that resulted in a failure.

Proxy forwards

  • In the node view, the graph shows the number of proxy requests this server node is attempting to forward.

  • In the cluster view, the graph shows the number of proxy requests each server node in the cluster is attempting to forward.

Metric: distsender.rpc.proxy.forward.sent Number of attempts on a follower replica to proxy a request to an unreachable leaseholder.

Proxy forward errors

  • In the node view, the graph shows the number of proxy forward attempts on the node that resulted in an error.

  • In the cluster view, the graph shows the number of proxy forward attempts on each node of the cluster that resulted in an error.

Metrics: distsender.rpc.proxy.forward.err Number of attempts on a follower replica to proxy a request that resulted in a failure.

Summary and events

Summary panel

A Summary panel of key metrics is displayed to the right of the timeseries graphs.

Metric Description
Total Nodes The total number of nodes in the cluster. Decommissioned nodes are not included in this count.
Capacity Used The storage capacity used as a percentage of usable capacity allocated across all nodes.
Unavailable Ranges The number of unavailable ranges in the cluster. A non-zero number indicates an unstable cluster.
Queries per second The total number of SELECT, UPDATE, INSERT, and DELETE queries executed per second across the cluster.
P99 Latency The 99th percentile of service latency.
Note:

If you are testing your deployment locally with multiple CockroachDB nodes running on a single machine (this is not recommended in production), you must explicitly set the store size per node in order to display the correct capacity. Otherwise, the machine's actual disk capacity will be counted as a separate store for each node, thus inflating the computed capacity.

Events panel

Underneath the Summary panel, the Events panel lists the 5 most recent events logged for all nodes across the cluster. To list all events, click View all events.

DB Console Events

The following types of events are listed:

  • Database created
  • Database dropped
  • Table created
  • Table dropped
  • Table altered
  • Index created
  • Index dropped
  • View created
  • View dropped
  • Schema change reversed
  • Schema change finished
  • Node joined
  • Node decommissioned
  • Node restarted
  • Cluster setting changed

See also


Yes No
On this page

Yes No