Skip to content

Zoomed in metric charts disappear after switching between metric dashboards #71201

@aliher1911

Description

@aliher1911

Describe the problem

If I zoom into a timerange on the chart, change to other metric dashboard and return back to original one, the charts are gone. Other dashboards show fine and I can switch between them.
To restore charts I can pick a new time range from time dropdown.

To Reproduce

What did you do? Describe in your own words.

If possible, provide steps to reproduce the behavior:

  1. take any cluster with metrics (like cockroach demo) that run for some time
  2. go to metrics
  3. switch to past 1 h time range
    step1
  4. use mouse drag to select a part of time range on the chart
    step2
  5. switch to hardware dashboard
    step3
  6. switch back to overview
    step4

Expected behavior
Charts to stay visible.

Environment:

  • CockroachDB version 21.2 master and prior (ff7f80f)
  • Server OS: MacOS
  • Client app Chrome, Safari

Additional context
Makes it hard to correlate historical charts between metric dashboards.
Outside of production clusters, we use dashboard to view exported metrics and that means we always look on detailed metrics in the past.

Epic CRDB-8038

Metadata

Metadata

Assignees

Labels

C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions