cockroachdb / cockroachdb/cockroach
storage: audit and possibly unify per-Store server status data
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
The server exposes different information about stores/engines in several different locations.
* The `systemStatusServer.Stores` method returns a `serverpb.StoreDetails` proto message describing each store. Today, this only includes information about encryption-at-rest. The DB Console exposes this information in an advanced debug page.
* The `systemStatusServer.EngineStats` method returns a `enginepb.EngineStatsInfo` proto message describing each store's metrics. At one point this returned a snapshot of all the engines' current timeseries metrics values. A JSON-serialized version of this message is included in debug.zips. Today, this message returns essentially nothing: https://github.com/cockroachdb/cockroach/blob/927bf580e64444453119f91c539d199b140beb33/pkg/server/status.go#L754-L760
* The `serverpb.StoreStatus` message holds some useful properties of a store, and a snapshot of its timeseries metrics. It's embedded within a `serverpb.NodeResponse`. I'm not sure of all the places where it's surfaced.
Related to #79518.
Related to #97874.
Jira issue: CRDB-26644
Contributor guide
Assessment
This issue has not been assessed yet.