prometheus-process-exporter - Prometheus exporter which mines procfs to report on selected processes.
Contents
Description
Some apps are impractical to instrument directly, either because you don't control the code or they're
written in a language that isn't easy to instrument with Prometheus. This exporter solves that issue by
mining process metrics from procfs.
The recommended option is to use a config file, but for convenience and backwards compatibility the
-procnames / -namemapping options exist as an alternative.
The -children option (default:true) makes it so that any process that otherwise isn't part of its own
group becomes part of the first group found (if any) when walking the process tree upwards. In other
words, resource usage of subprocesses is added to their parent's usage unless the subprocess identifies
as a different group name.
Name
prometheus-process-exporter - Prometheus exporter which mines procfs to report on selected processes.
Options
-children
If a proc is tracked, track with it any children that aren't part of their own group (default
true).
-config.pathstring
Path to YAML config file.
-debug Log debugging information to stdout.
-man Print manual.
-namemappingstring
Comma-separated list, alternating process name and capturing regex to apply to cmdline.
-procfsstring
Path to read proc data from (default "/proc").
-procnamesstring
Comma-separated list of process names to monitor.
-recheck Re-check process names on each scrape.
-web.config.filestring
Path to YAML web config file.
-web.listen-addressstring
Address on which to expose metrics and web interface. (default ":9256").
-web.telemetry-pathstring
Path under which to expose metrics. (default "/metrics").
See Also
proc(5)
Synopsis
prometheus-process-exporter [option...]
