Comments (2)
Thanks for the detailed bug report. Version 0.3.1+ contain a lot of new changes and should have been labelled pre-release (they are now). One issue I identified is that there were some /proc//status fields I depended upon that were only introduced in more recent kernels. I would definitely expect them to be present in kernel 4.17 though, so I'm not sure what's happening on your system.
Probably there's something else wrongheaded that I'm doing with the status file. For example, because I expect the Vm* fields to be present and treat it as an error if they aren't, kernel processes are failing to be scraped. I haven't decided exactly how I want to deal with that situation, but I will address it before I issue a stable release. I'll consider adding some debugging facilities as well.
from process-exporter.
I've just tested the 0.3.2 release, and it gives a successful scrape on my system, so I'll close this off. Thanks for your work on this exporter!
I've attached the scrape output (metrics.txt) and included some /proc
snippets below, in case it can be used to add a unit test.
--
# cat /proc/188/stat
188 (bash) S 0 188 188 34818 256 4194560 1190 10638 9 93 4 2 165 41 20 0 1 0 87615 20434944 930 18446744073709551615 4194304 5242124 140720909478560 0 0 0 134283264 3670020 1266777851 1 0 0 17 2 0 0 0 0 0 7341384 7388228 34840576 140720909482127 140720909482137 140720909482137 140720909484014 0
# cat /proc/188/status
Name: bash
Umask: 0022
State: S (sleeping)
Tgid: 188
Ngid: 0
Pid: 188
PPid: 0
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups: 0
NStgid: 188
NSpid: 188
NSpgid: 188
NSsid: 188
VmPeak: 19956 kB
VmSize: 19956 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 3720 kB
VmRSS: 3720 kB
RssAnon: 608 kB
RssFile: 3112 kB
RssShmem: 0 kB
VmData: 604 kB
VmStk: 132 kB
VmExe: 1024 kB
VmLib: 2124 kB
VmPTE: 80 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
CoreDumping: 0
Threads: 1
SigQ: 0/127087
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000008010000
SigIgn: 0000000000380004
SigCgt: 000000004b817efb
CapInh: 0000000000000000
CapPrm: 0000003cfdfcffff
CapEff: 0000003cfdfcffff
CapBnd: 0000003cfdfcffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 2
Speculation_Store_Bypass: thread force mitigated
Cpus_allowed: ff
Cpus_allowed_list: 0-7
Mems_allowed: 00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 349
nonvoluntary_ctxt_switches: 41
from process-exporter.
Related Issues (20)
- 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
- Why does the speed not change after adding -threads=false?
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.