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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDkyODUsIm5iZiI6MTczOTM0ODk4NSwicGF0aCI6Ii8xMjU4ODc1MzIvMjQzMzQ1ODc5LTcxYzViOWU0LTc5MGEtNGY5Ni04Njc2LTU2MjFlY2Y5OWE4OS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwODI5NDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMTgzM2EzZTMxYjVlZGE1ZjJiOTY3OTdmNzAzMTI1ZTMyODVjNGNiZmUwZGYxMDdmNGFkYmY4ODllOTU1NWJiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.060IpmadYoGzlCB0aXGIoPnzt48udae00tLdlKlztvc)
scaph_host_energy_microjoules
metric.Is this expected behavior from scaphandre?
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions