Comments (9)
You're welcome @epa095, and I agree. Let me know if you find any problems with the fix. New release forthcoming within the week if you don't feel like building from source.
from process-exporter.
Well, I'm at a loss. I guess this weekend I'll install linux on my chromebit or try to setup a virtual ARM env and see if I can reproduce there.
from process-exporter.
The funny thing is that it runs fine on my Odroid XU4... and in a ARM docker image (using qemu) it just segfaults.
If you have some ideas on how to best debug this further (e.g. even putting some more debug log outputs in the code), I would appreciate it a lot.
from process-exporter.
Oh, interesting. Well, in terms of debug logs I'd probably start by adding something to Grouper.Update(), e.g. in the iteration over newProcs:
for _, idinfo := range newProcs {
wanted, gname := g.namer.MatchAndName(common.NameAndCmdline{idinfo.Name, idinfo.Cmdline})
+ log.Printf("wanted=%v, gname=%v, idinfo=%v", wanted, gname, idinfo)
from process-exporter.
I added that and get no output on the Tegra TK1 (kernel 3.10.40), but as expected it works on the Odroid (kernel 4.2.0)
from process-exporter.
So it seems that because the /proc/<pid>/io
file does not exist, everything is silently dropped... see TODO in Tracker.Update
And it doesn't count that error because it's not a permission error, but the io file doesn't exist.
from process-exporter.
So I was missing some needed kernel options:
CONFIG_TASKSTATS=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
Then it works...
But it would still be good if the error was caught and logged and even better if the other metrics were still extracted (as per the TODO).
from process-exporter.
Indeed. Happy to have an explanation. I'll use this issue to fix the error checking and address the TODO. Thanks very much for the bug report and analysis.
from process-exporter.
Hi, thanks for a nice tool. Is there any progress on the "io"-TODO? I have problems getting any data from some servers I am running it on, and I think the reason probably is that I dont have read-access to the io folder. To me it seams reasonable that an extractor like this should ignore metrics it don't have permission for, but keep trying the other metrics. Having just CPU and memory usage is still much better than nothing;-)
from process-exporter.
Related Issues (20)
- Can we get the top 10 process in the machine which is having high cpu usage HOT 14
- How to monitor Java processes ? HOT 1
- grafana dasboard link 404 now
- can we also get cpu io_wait and idle time per process?
- Specifying threads flag in front of config flag causes the config to be ignored HOT 1
- How to differienciate mutile process with same process name? HOT 1
- While process-exporter restart,namedprocess_namegroup_cpu_seconds_total resets to zero
- Exe full and arguments HOT 4
- Remove process group when namedprocess_namegroup_num_procs = 0 HOT 4
- Not getting any namedprocess_namegroup_* metrics from process exporter HOT 1
- Not getting any process metrics from process exporter on Debian 12 (bookworm) HOT 2
- Default value to -62135596800 corresponding to 0001-01-01 when no process found
- Unusual high number of involuntary context switches, how is this number computed?
- metric is not updated HOT 1
- High cardinality of Process Exporter metrics HOT 2
- /net/http/pprof were detected as information disclosure vulnerability
- need update gomod to fix CVE list HOT 2
- Process-exporter new release need with latest go and exporter toolkit HOT 7
- Process Exporter v0.7.11 is missing library GLIBC_2.34 HOT 1
- Failed to start the server: no web listen address or systemd socket flag specified HOT 1
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 process-exporter.