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

Getting consumption spikes when using rate(scaph_host_energy_microjoules) on prometheus #324

Open
Louan-Robert opened this issue Jun 5, 2023 · 1 comment
Projects

Comments

@Louan-Robert
Copy link

Hello, I am using scaphandre in one of my projects, and I am encountering some problems.

When using scaph_host_energy_microjoules and applying prometheus rate() function to it, I am getting uge consumption spikes.

image

Note that this behavior only occures with scaph_host_energy_microjoules metric.

Do you have any idea on where these could come from ?

Thanks !

@TheElectronWill
Copy link
Contributor

What does rate do? This may be normal, since scaph_host_energy_microjoules reports the energy consumed since the previous measurement. And the energy measurements occur at regular intervals.

@bpetit bpetit added this to Triage in General Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
General
Triage
Development

No branches or pull requests

2 participants