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.19k stars 3.82k forks source link

ui: clicking the "now" button on db console does not make the graph snap to the frontier #131112

Open dhartunian opened 2 months ago

dhartunian commented 2 months ago

When clicking "Now" on the DB Console metrics page, the expected behavior is that the start/end time ranges should be cleared and the graph should snap to the current time frontier and update automatically.

Desired state when clicking "Now":

Currently, when the Metrics page is loaded, we set the start/end times automatically even though the picker is set to the 10m preset. We should instead encode the preset state in the query param to clearly disambiguate between the custom times and the presets.

Jira issue: CRDB-42380

blathers-crl[bot] commented 2 months ago

Hi @dhartunian, please add branch-* labels to identify which branch(es) this C-bug affects.

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