ncabatoff / process-exporter

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

While process-exporter restart,namedprocess_namegroup_cpu_seconds_total resets to zero #280

Open fiend19961 opened 1 year ago

fiend19961 commented 1 year ago

While process-exporter restarts, the _total metric resets to zero, leading incorrect CPU usage calculations. Can you provide a configuration to ensure that the _total metric continues to increase after process-exporter restarts?