Comments (5)
Which docker tag are you using and what is the value of the metrics scaph_self_version
?
I am using dev tag and got version 0.5. My metrics for scaph_process_power_consumption_microwatts
are fine.
from scaphandre.
Which docker tag are you using and what is the value of the metrics
scaph_self_version
?I am using dev tag and got version 0.5. My metrics for
scaph_process_power_consumption_microwatts
are fine.
All nodes return 0.5 for this metric. I have installed the helm chart from the dev branch using the dev tag as well. Besides, something I also noted is that whenever I run the quick docker version (as in https://hubblo-org.github.io/scaphandre-documentation/tutorials/installation-linux) I also get reported 0W on one of the malfunctioning nodes. I feel like this has something to do with the container not being allowed to access the proper files, even though I have disabled all firewalls and used the command chmod 777 on both /sys/class/powercap and /proc (for testing purposes). I'm wondering why only one node is able to get the measurements correctly.
from scaphandre.
Now I've tried to run the dev image locally and there is a warning
"scaphandre::sensors: Could'nt read record from /sys/class/powercap/intel-rapl:0/energy_uj, error was: Os { code: 2, kind: NotFound, message: "No such file or directory" }"
However, as I have stated before, I have used the chmod -R 777 command on this folder and disabled the firewall. What could be causing this?
from scaphandre.
It is indeed a permission issue. As I came back to office and typed "kubectl logs 'scaphandre pod'", this time a got a warning message stating:
"scaphandre::sensors: Could'nt read record from /sys/class/powercap/intel-rapl:0/energy_uj, error was: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }"
from scaphandre.
I think it had something to do with the containerd container runtime. In the project I'm taking part on we decided to change from containerd to CRI-O and the problem was solved afterwards. All nodes report sensible values now
from scaphandre.
Related Issues (20)
- missing kubernetes pods metric labels HOT 2
- Wrong Wattage gets displayed for a Programm HOT 2
- sum(scaph_process_power_consumption_microwatts) by (node) and sum( scaph_socket_power_microwatts) by (node) don't match
- Running scaphandre_linux returns "0 W" HOT 2
- Kubernetes > 1.22 HOT 3
- 'IndexError: list index out of range' in Prometheus Scraping of Scaphandre Metrics HOT 2
- JSON exporter output cut short due to BufWriter size HOT 1
- Scaphandre does not run on Debian 12 HOT 8
- Systemd service results in empty "exe" prometheus label
- Add label "comm" from /proc to prometheus metrics HOT 1
- .json file output format HOT 11
- [Docker] couldn't read record HOT 1
- Qemu exporter not working - Default build does not include qemu
- Power of 0W for all processes on Windows 11 HOT 4
- Order-of-magnitude problem with the scaph_process_power_consumption_microwatts in v1.0
- Random failure in rocky linux based custom container
- Error: Couldn't find intel_rapl modules.
- IO error in winpai call on Windows
- File not found: /sys/class/powercap/intel-rapl:0/energy_uj HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scaphandre.