Getting suspicious counters resets #328
Unanswered
Louan-Robert
asked this question in
Q&A
Replies: 1 comment
-
Hi, This is expected behavior from RAPL counters that are reset periodically. energy_microjoules metrics are counters, they are a no-modification exposition of RAPL metrics you can find either by reading the MSRs or by reading /sys/class/powercap/*/energy_uj files If you want to graph gauges/stable metrics in grafana/prometheus from those metrics you have to use the rate or irate operators. If you want to get gauges directly from scaphandre metrics, use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am using scaphandre in one of my projects, and I am encountering some problems.
When using
scaph_socket_energy_microjoules
,scaph_domain_energy_microjoules
orscaph_host_energy_microjoules
metrics, I am observing suspicious counters that reset every 2 hours or, in some cases, after 15 minutes.Note that when the counters reset, they do not drop to 0.
Here is an example using the
![image](https://private-user-images.githubusercontent.com/125887532/243345879-71c5b9e4-790a-4f96-8676-5621ecf99a89.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxOTEzMzgsIm5iZiI6MTcyNTE5MTAzOCwicGF0aCI6Ii8xMjU4ODc1MzIvMjQzMzQ1ODc5LTcxYzViOWU0LTc5MGEtNGY5Ni04Njc2LTU2MjFlY2Y5OWE4OS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwMVQxMTQzNThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMjQ2ODE4MmM4MmFlYjY3OTk0MzNmZDRmZDhmYzU4ODRkNTVlM2U0YzYyZGI1YTc1Nzc5Nzg3NTkyYzJlODhjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.SLh0MJW7VsNnC-lxZPdrH6ecESi96Y3q7dUzeb72sg8)
scaph_host_energy_microjoules
metric.Is this expected behavior from scaphandre?
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions