cockroachdb / cockroachdb/cockroach

metrics: gen-metrics command does not collect all possible metrics

Open
#132,176 2 comments 0 reactions 0 assignees View on GitHub
C-bug T-supportability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Describe the problem**
After some discussion, it seems that the `cockroach gen metric-list` command is meant to capture and document all possible metrics which can be omitted by the system, but as it stands currently this isn't the case. Metrics like `security.certificate.*` and `seconds_until_enterprise_license_expiry` do not appear in the [metrics page](https://www.cockroachlabs.com/docs/stable/metrics

**To Reproduce**
To validate this, you can run `cockroach gen metric-list | grep security` to verify that no security metrics are captured.
lem.

**Environment:**
- Current master [8e43568](https://github.com/cockroachdb/cockroach/commit/8e435684b2cb63498cc817a347bfd8c4ae426c16)
- OSX

**Additional context**
Unsure the exact % right now, but as it stands the discoverability and documentation of some metrics in the system is hampered by this.

Jira issue: CRDB-42864

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.