Comments (12)
HI all, procfs maintainer here. I replied to @uggla in the issue over in my repo, but I figure I'd repeat it (and continue it) here.
The procfs API is not yet at 1.0, and so the API can still change in breaking ways.
The differences between 0.8 and 0.9 aren't that big, so I think you could remain on 0.8 if you wanted (there's actually only 1 bug fix between the two versions and I don't think you're impacted by it).
If you're concerned about the work involved, I would be happy to volunteer to do the upgrade for you, if you want.
Let me know what you think. Thanks!
from scaphandre.
My general recommendation is to upgrade to the latest procfs, but if you must remain on the v0.8.x release, then I'm happy to create a 0.8.2 that has eminence/procfs#152 cherry-picked. Just let me know
from scaphandre.
from scaphandre.
I'll have a look at that, as I'm working on some refactoring. I'll look into upgrading to latest procfs through that opportunity.
from scaphandre.
Having a try with #144
Seems to work fine, feel free to run tests on your sides to.
from scaphandre.
It would be wise to ask the author of procfs if he has still plan to change/disrupt the api. If he considers the api stable enough then we could go ahead.
from scaphandre.
You're right, we should start a discussion with them about that.
from scaphandre.
Hi !
Thanks a lot for those informations. We will wait for the 1.0 then and ask you if we have issues with the upgrade :)
from scaphandre.
Hey,
I ran into this while I was working on #143
The problem is the systemd cgroup driver for kubernetes uses :
as a separator and the path gets truncated which means the container ID is missing. This was fixed in eminence/procfs#152
If I use a fork of 0.8.1 with just the fix it works great. Could we either upgrade or create a 0.8.2 patch release?
from scaphandre.
Thanks I tested my changes in #143 with your changes in #144 and they worked fine.
from scaphandre.
I think I found a bug in #144, don't rely on it too much yet. I'll try to document and fix that this week end.
from scaphandre.
Bug is fixed. Merged this PR in the new dev branch. I'll work on #74, then merge in dev before merging everything to main.
from scaphandre.
Related Issues (20)
- Fix MSRRapl sensor multi-socket support
- 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 Scaphandre Deployment reporting 0 W HOT 5
- 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
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.