cockroachdb / cockroachdb/cockroach
kvserver: improve the observability of unavailable ranges
Open
branch-master
C-enhancement
E-starter
O-support
P-3
T-kv
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
In cases where we are investigating why the [unavailable ranges metric](https://github.com/cockroachdb/cockroach/blob/f903e26dff81dacc1e67662cfa9652b49d82a9c2/pkg/kv/kvserver/metrics.go#L143) was showing some unavailable ranges in the past, it would be nice if there is extra observability on which ranges were considered unavailable.
We could try to log which ranges are considered unavailable (every minute maybe). We need to make sure that we are not introducing too much logging in cases where there are many ranges that are considered unavailable.
Jira issue: CRDB-50792
Contributor guide
Assessment
This issue has not been assessed yet.