Comments (6)
@zelonkaa Hi, i am facing the same issue. Are you able to figure out why it it showing the higher number of processes ?. Below is the part of the ConfigMap. i have only 2 processes running but process-exporter metrics are showing as 6. I am not able to figure out what's wrong with my config Map
namedprocess_namegroup_num_procs{groupname="/usr/bin/bash:-c:/usr/bin/journalctl"} 6
- name: /usr/bin/bash:-c:/usr/bin/journalctl
exe:
- /usr/bin/bash
cmdline:
- -c
- /usr/bin/journalctl
from process-exporter.
hi @amitsingla it really looks similar but in fact isn't.
What the process exporter looks for with my current understanding is the following:
pid=180176 -> process_exporter
ls -la /proc/180176/{comm,exe,cmdline}
-r--r--r-- 1 root root 0 May 2 16:56 /proc/180176/cmdline
-rw-r--r-- 1 root root 0 May 4 12:13 /proc/180176/comm
lrwxrwxrwx 1 root root 0 May 2 16:56 /proc/180176/exe -> /usr/local/bin/prometheus_process_exporter/prometheus_process_exporter
As far as I understand the documentation, only if you use the cmdline-Check in the config.yml , these expressions have all to match in order to find a process (logical-AND), in the other cases you have (logical-OR).
In your case if you have any "/usr/bin/bash"-Processes, they are listed as well.
In my case it doesn't matter, either with or without other parameters (EXE/COMM/CMDLINE) I always get the same amount of processes found.
from process-exporter.
Note that by default, the -children argument is true, meaning any child processes of the matched processes will be included in the group.
from process-exporter.
Thanks for the hint, I thought that it could be an issue with this parameter. Tried with and without "-children false", in both cases I get the same amount of processes (34) as a metric.
from process-exporter.
The newest pre-release 0.3.7 includes a -debug option that may answer your question. I suggest using it with the -once-to-stdout option as it produces quite a lot of output.
from process-exporter.
Closing due to inactivity, feel free to reopen if you're still having issues.
from process-exporter.
Related Issues (20)
- zsh: exec format error: ./process-exporter HOT 1
- Is it possible to have process network io metrics?
- exec docker run cannot create a docker container
- 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
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.