ncabatoff / process-exporter

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

Add version metric #238

Closed hartfordfive closed 2 years ago

hartfordfive commented 2 years ago

Being able to identify the version of all process-exporter instances running within an organization would be useful, especially when it comes to confirming upgrades. Having a process_exporter_version metric that could expose this would be very useful.

For example

process_exporter_build_info{version="<VERSION>", goversion="<GO_VERSION>",revision="<GIT_REVISION>" }
flixr commented 2 years ago

That already exists...

hartfordfive commented 2 years ago

My apologies. I just noticed this was added back in version 0.7.5. I'm still using 0.6.0, thus why I didn't notice it. Closing this issue.