scaphandre icon indicating copy to clipboard operation
scaphandre copied to clipboard

Getting consumption spikes when using rate(scaph_host_energy_microjoules) on prometheus

Open Louan-Robert opened this issue 1 year ago • 1 comments

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 !

Louan-Robert avatar Jun 05 '23 12:06 Louan-Robert

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.

TheElectronWill avatar Jun 07 '23 13:06 TheElectronWill