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
29.9k stars 3.78k 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 1 year ago

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