cockroachdb / cockroachdb/cockroach

kv: provide a friendlier way to view detailed lease preferences non-conformance

Open
#137,442 0 comments 0 reactions 0 assignees View on GitHub
A-kv-distribution branch-master C-enhancement T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

A couple of recent PRs (https://github.com/cockroachdb/cockroach/pull/107622 & https://github.com/cockroachdb/cockroach/pull/116709) added lease preferences metrics and the ability to view them on the Replication metrics page. The problem however, is that it's unclear how customers can use this information to resolve the situation.

Before replication reports were deprecated, it would have been possible to get some (all?) of the necessary information there. Now, there exists a [metrics endpoint](https://www.cockroachlabs.com/docs/v24.3/monitoring-and-alerting#replication-status-constraint-violation) which contains the information, but this is both difficult to find (starting from the DB Console page, for example), and is tricky to get working if you aren't running an insecure cluster.

At the very least, we should make the existing information easier to find (say, by adding a link to the necessary documentation in the Replication page graph's tooltip, and providing documentation around secure clusters). Longer term we may want to consider a more user-friendly way to expose this information.

Jira issue: CRDB-56975

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.