cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.14k stars 3.81k forks source link

ui/db-console: specify rate parameter for full scan and read amplification metrics #77795

Open xinhaoz opened 2 years ago

xinhaoz commented 2 years ago

Currently, for the Full Table/Index Scans (metrics -> sql) and 'Read Amplification` (metrics -> storage) graphs in db-console, we query and show the total count for both metrics.

The graph should instead show the rate of change for each metric. To get the correct data, we should provide the nonNegativeRate prop in the respective Metrics components that issue the metrics request.

Jira issue: CRDB-13767

lin-crl commented 2 years ago

Would love to see this issue get prioritized. would help a lot in troubleshooting production issues!!