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.1k stars 3.8k forks source link

ui, server: modify hot ranges api and table to use new contents approx. #134106

Open angles-n-daemons opened 12 hours ago

angles-n-daemons commented 12 hours ago

ui, server: modify hot ranges api and table to use new contents approx.

This change is the last in a set of commits to change the hot ranges page from only showing one table, index per range to many. It builds on top of the changes in the catalog reader (10b9ee03fba37f314771d8624b2619f10b5bbb59) and the range utilities (109219d5fca6d347663127bf21b8dd162ef51d4a) to surface a set of tables, indexes for each range.

The primary changes in this commit specifically are the modification of the status server to use the new rangeutil utilities, and changing the wire, presentation format of the information.

image

Epic: CRDB-43151 Fixes: #130997

Release note: changes the table, index contents of the hot ranges page in DB console.

blathers-crl[bot] commented 12 hours ago

Your pull request contains more than 1000 changes. It is strongly encouraged to split big PRs into smaller chunks.

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

cockroach-teamcity commented 12 hours ago

This change is Reviewable