Data configurationGrafana integrationsIntegrations referenceCockroachDB integration

CockroachDB integration for Grafana Cloud

CockroachDB is a cloud-native SQL database for building global, scalable cloud services that survive disasters. The CockroachDB integration enables the Grafana Agent to send metrics to Grafana Cloud. The integration also creates a useful default dashboard for visualization of CockroachDB metrics within Grafana Cloud.

Use the walkthrough in Grafana Cloud to install the CockroachDB integration.

Post-install configuration for the CockroachDB integration

CockroachDB exposes the metrics endpoint at /_status/vars. The following agent configurations defines a scrape job that pulls the metrics from a CockroachDB instance on localhost. If CockroachDB is running on a different host the address must be adapted.

  # ...
  - name: integrations:
    - job_name: integrations/cockroachdb
      metrics_path: /_status/vars
        - targets: ['localhost:8080']