ncabatoff / process-exporter

Prometheus exporter that mines /proc to report on selected processes
MIT License
1.67k stars 265 forks source link

Process-exporter can not monitor myself write application #252

Open StephenJose-Dai opened 1 year ago

StephenJose-Dai commented 1 year ago

I wrote a program myself, and I want to use Process-exporter to monitor it, but the result given by Process-exporter is that it is not monitored. I can check this process with ps -ef. I thought it was my problem, so I I found the software rustdesk. This software has two executable programs, one is called hbbr and the other is called hbbs. Unfortunately, Process-exporter can only monitor hbbr, but hbbs cannot. This seems to prove that it is not me The problem, I don't know what should I do, can you help me?