CockroachDB data source
The CockroachDB data source plugin lets you query and visualize data from CockroachDB, a distributed SQL database designed for high availability and horizontal scalability. Use this data source to monitor cluster health, track query performance, analyze application metrics stored in CockroachDB, and build dashboards that combine CockroachDB data with other sources. The data source supports both the visual query builder and a raw SQL editor with autocomplete, along with macros for time-range filtering.
Note
The CockroachDB data source is an Enterprise plugin. It’s available with a Grafana Cloud Pro or Advanced plan and Grafana Enterprise. For installation instructions, refer to Install Grafana Enterprise plugins.
Supported features
Requirements
The CockroachDB data source has the following requirements:
- A CockroachDB instance.
- A Grafana Cloud Pro or Advanced plan or an activated on-prem Grafana Enterprise license. Contracted Cloud customers should refer to their agreement.
An Enterprise CockroachDB license is required for Kerberos authentication.
Get started
The following documents help you set up and use the CockroachDB data source:
- Configure the CockroachDB data source
- CockroachDB query editor
- Template variables
- Annotations
- Alerting
- Troubleshooting
Additional features
After configuring the data source, you can:
- Use Explore to query data without building a dashboard.
- Add Transformations to manipulate query results.
- Set up Alerting rules.
Plugin updates
Always ensure that your plugin version is up-to-date so you have access to all current features and improvements. Navigate to Plugins and data > Plugins to check for updates. Grafana recommends upgrading to the latest Grafana version, and this applies to plugins as well.
Note
Plugins are automatically updated in Grafana Cloud.



