node_exporter --version output is not possible either to grep nor to pipe to a file.
Usecase: run automatical node_exporter update depending on the outputed version and the latest GitHub release. Is there an insider way to retrieve the node_exporter version like just 1.1.2? output of node_exporter --version node_exporter, version 1.1.2 (branch: HEAD, revision: b597c1244d7bef49e6f3359c87a56dd7707f6719) build user: root@f07de8ca602a build date: 20210305-09:29:10 go version: go1.15.8 platform: linux/amd64 -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/14a197e8-0d68-4d37-932c-8c993d670badn%40googlegroups.com.

