The DB Console provides details about your cluster and database configuration, and helps you optimize cluster performance.
DB Console areas
The Overview page provides a cluster overview and node list and map.
- Cluster Overview has essential metrics about the cluster and nodes, including liveness status, replication status, uptime, and hardware usage.
- Node List has a list of cluster metrics at the locality and node levels.
- Node Map displays a geographical configuration of your cluster and metrics at the locality and node levels, visualized on a map.
The Metrics page provides dashboards for all types of CockroachDB metrics.
- Overview Dashboard has metrics about SQL performance, replication, and storage.
- Hardware Dashboard has metrics about CPU usage, disk throughput, network traffic, storage capacity, and memory.
- Runtime Dashboard has metrics about node count, CPU time, and memory usage.
- SQL Dashboard has metrics about SQL connections, byte traffic, queries, transactions, and service latency.
- Storage Dashboard has metrics about storage capacity and file descriptors.
- Replication Dashboard has metrics about how data is replicated across the cluster, e.g., range status, replicas per store, and replica quiescence.
- Changefeeds Dashboard has metrics about the changefeeds created across your cluster.
- New in v21.2: Overload Dashboard has metrics about the performance of the parts of your cluster relevant to the cluster's admission control system.
The Databases page shows details about the system and user databases in the cluster.
The SQL Activity page summarizes SQL activity in your cluster.
- Statements shows frequently executed and high latency SQL statements, with the option to collect statement diagnostics.
- Transactions show details about transactions running on the cluster.
- Sessions shows details about open sessions in the cluster.
The Network Latency page shows latencies and lost connections between all nodes in your cluster.
The Jobs page shows details of jobs running in the cluster.
The Advanced Debug page provides advanced monitoring and troubleshooting reports. These include details about data distribution, the state of specific queues, and slow query metrics. These details are largely intended for use by CockroachDB developers.
DB Console access
You can access the DB Console from every node at
http://<host>:8080 by default.
- If you included the
--http-addrflag when starting nodes, use the IP address or hostname and port specified by that flag.
- If you didn't include the
--http-addrflag when starting nodes, use the IP address or hostname specified by the
--listen-addrflag and port
- If you are running a secure cluster, use
Access to DB Console is a function of cluster security and the role of the accessing user.
On insecure clusters, all areas of the DB Console are accessible to all users.
admin users also have access to the following areas. These area display information from privileged HTTP endpoints that operate with
|DB Console area||Privileged information|
|Node Map||Database and table names|
|Databases||Stored table data|
|Advanced Debug (some reports)||Stored table data, operational details, internal IP addresses, names, credentials, application data (depending on report)|
By default, the DB Console shares anonymous usage details with Cockroach Labs. For information about the details shared and how to opt-out of reporting, see Diagnostics Reporting.