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

dashboards: more accurate CPU usage for the perf dashboard #30

Merged
merged 1 commit into from
Aug 7, 2019

Conversation

Roasbeef
Copy link
Member

In this PR, we attempt to make the current CPU usage graph for lnd
more accurate. AFAICT, the *10 that we had was completely superfluous,
and omitting that seems to produce a more accurate CPU usage reading. In
the future, we may want to use something like Node Exporter as we can
obtain richer information such as the idle CPU time, or the amount of
disk space left on the instance.

In this PR, we attempt to make the current CPU usage graph for `lnd`
more accurate. AFAICT, the `*10` that we had was completely superfluous,
and omitting that seems to produce a more accurate CPU usage reading. In
the future, we may want to use something like [`Node
Exporter`](https://prometheus.io/docs/guides/node-exporter/) as we can
obtain richer information such as the idle CPU time, or the amount of
disk space left on the instance.
Copy link
Contributor

@valentinewallace valentinewallace left a comment

Choose a reason for hiding this comment

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

LGTM 🥇 that's weird it was multiplied by 10 to begin with..

@Roasbeef Roasbeef merged commit 2fe2347 into lightninglabs:master Aug 7, 2019
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.

2 participants