ncabatoff / process-exporter

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

Filter ProcessExporter Metrics during start #327

Open arunkumar-h opened 1 week ago

arunkumar-h commented 1 week ago

Is there a mechanism to disable defaults and filter only selective metrics like CPU and memory from the Process Exporter. Any arguments that we can pass during start similar to node exporter.

Example:

ExecStart=/opt/node_exporter/node_exporter --collector.disable-defaults --collector.cpu --collector.meminfo --collector.uname

https://github.com/prometheus/node_exporter