process-exporter
process-exporter copied to clipboard
process exporter does not report status properly
From some reason process exporter does not detect that monitored process is up.
curl -s localhost:9256/metrics | grep -i namedprocess_namegroup_num_procs | grep foo
namedprocess_namegroup_num_procs{groupname="foo"} 0
While the monitored process is reported as up in px aux output. Only after the process exporter is restarted than it properly catches proper metric value
curl -s localhost:9256/metrics | grep -i namedprocess_namegroup_num_procs | grep foo
namedprocess_namegroup_num_procs{groupname="foo"} 1
Any advice?
Duplicate of #59 ?
I get the same issue today . The situation is that I'm using process exporter in docker swarm, the process exporter can't get any metrics of process runs on the host which start up later than process exporter. If I recreated the process exporter container then it can see the processes.
In my case I think it's not a process exporter problem, may be a docker swarm problem. I decide to use cadvisor to get my metrics.
@hulb see the -recheck
option: https://github.com/ncabatoff/process-exporter#running
@hulb see the
-recheck
option: https://github.com/ncabatoff/process-exporter#running
Thanks! It works.
Confirming that using -recheck
option fixed the issue.