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: add hardware metrics to new "Hardware" dashboard #27626

Merged
merged 4 commits into from
Jul 23, 2018

Conversation

vilterp
Copy link
Contributor

@vilterp vilterp commented Jul 16, 2018

First two commits are from #27137; that PR will go in first.

image

TODO

  • tooltips
  • format CPU percentage (currently 100% of one core = 1)

@vilterp vilterp requested review from a team July 16, 2018 22:45
@cockroach-teamcity
Copy link
Member

This change is Reviewable

sources={nodeSources}
>
{/* TODO(vilterp): multiply by 100 to get percent */}
<Axis units={AxisUnits.Count} label="CPU">
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, hey, at one point I removed an AxisUnits.Percent cause it wasn't used anywhere... Here ya go: 70c4419

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@@ -48,7 +49,8 @@ const dashboards: {[key: string]: GraphDashboard} = {
"replication": { label: "Replication", component: replicationDashboard },
"distributed": { label: "Distributed", component: distributedDashboard },
"queues": { label: "Queues", component: queuesDashboard },
"requests": { label: "Slow Requests", component: requestsDashboard},
"requests": { label: "Slow Requests", component: requestsDashboard },
"hardware": { label: "Hardware", component: hardwareDashboard },
Copy link
Contributor

Choose a reason for hiding this comment

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

I would sort it much higher, maybe second after "overview"? @piyush-singh @josueeee @Amruta-Ranade thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@couchand
Copy link
Contributor

LGTM

@vilterp vilterp force-pushed the hardware-dashboard branch from c91abdb to 6bc23a5 Compare July 23, 2018 15:34
Pete Vilter added 4 commits July 23, 2018 12:12
This reverts commit 70c4419.

Release note: none
Release note (admin ui change): add "Hardware" dashboard to time series
page showing CPU, memory, and disk and network IO statistics.
Previously, it cut off right above the new "Hardware" option, making it
look like it wasn't there.

Release note: None
@vilterp vilterp force-pushed the hardware-dashboard branch from 6bc23a5 to 2f25296 Compare July 23, 2018 16:13
@vilterp
Copy link
Contributor Author

vilterp commented Jul 23, 2018

bors r+

craig bot pushed a commit that referenced this pull request Jul 23, 2018
27626: ui: add hardware metrics to new "Hardware" dashboard r=vilterp a=vilterp

First two commits are from #27137; that PR will go in first.

![image](https://user-images.githubusercontent.com/7341/42787591-2166749e-8929-11e8-886b-fa89ff580d88.png)

TODO
- [ ] tooltips
- [ ] format CPU percentage (currently 100% of one core = 1)


Co-authored-by: Pete Vilter <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jul 23, 2018

Build succeeded

@craig craig bot merged commit 2f25296 into cockroachdb:master Jul 23, 2018
@nvanbenschoten
Copy link
Member

Awesome to see these new graphs! There does seem to be some overlap between this "Hardware" dashboard and the old "Runtime" and "Storage" dashboards. Is this part of a larger plan to re-organize all of them?

@vilterp vilterp deleted the hardware-dashboard branch July 23, 2018 18:52
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.

4 participants