Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: removed metric function setDefaultTime #46190

Merged
merged 1 commit into from
Mar 31, 2020

Conversation

vladlos
Copy link
Contributor

@vladlos vladlos commented Mar 17, 2020

Removed setter the default graph time window based on the age of the older node in the cluster because we have default redux scale. That fixed our problem when we using the time dropdown on the metrics page and clicking on "10m" we get result with "6h" duration.

Resolves: #46145

Release justification: bug fixes and low-risk updates to new functionality

Release note (ui): default timescale on metrics page is always 10m. previously it defaulted to the age of the longest running node

@vladlos vladlos requested a review from a team March 17, 2020 14:28
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@dhartunian dhartunian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Didn't know we had this feature previously.
Going to just confirm with Piyush that we want that old feature removed.

Please add a Release Justification to commit and PR message so we can merge :)

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

@vladlos vladlos force-pushed the fix/default-graph-time-window branch from 00cd0bc to bd85d45 Compare March 26, 2020 13:25
@dhartunian
Copy link
Collaborator

@elkmaster can you fix the merge conflict so we can merge?

@dhartunian
Copy link
Collaborator

This will also need a release note: "default timescale on metrics page is always 10m. previously it defaulted to the age of the longest running node"

@vladlos vladlos force-pushed the fix/default-graph-time-window branch from bd85d45 to d63789f Compare March 31, 2020 08:23
Removed setter the default graph time window based on the age of the older node in the cluster because we have default redux scale. That fixed our problem when we using the time dropdown on the metrics page and clicking on "10m" we get result with "6h" duration.

Resolves: cockroachdb#46145

Release justification: bug fixes and low-risk updates to new functionality

Release note (ui): default timescale on metrics page is always 10m. previously it defaulted to the age of the longest running node
@vladlos vladlos force-pushed the fix/default-graph-time-window branch from d63789f to 7abc4d2 Compare March 31, 2020 08:24
@dhartunian
Copy link
Collaborator

bors r+

@craig
Copy link
Contributor

craig bot commented Mar 31, 2020

Build succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui: time dropdown on metrics page reverts to 6h randomly
3 participants