CockroachDB status metricset

edit

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

The CockroachDB status metricset collects metrics exposed by the Prometheus endpoint of CockroachDB.

This metricset collects a large number of metrics, what can significantly impact disk usage. Processors can be used to drop unused metrics before they are stored. For example the following configuration will drop all histogram buckets:

- module: cockroachdb
  metricsets: ['status']
  hosts: ['${data.host}:8080']
  processors:
    - drop_event.when.has_fields: ['prometheus.labels.le']

This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

Fields

edit

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset: