How can I check which specific version of node exporter was installed together with the deb package?

11 views
Skip to first unread message

mordowiciel

unread,
Jul 21, 2020, 2:54:28 PM7/21/20
to Prometheus Users
I've installed the 0.15.2+ds version of the prometheus-node-exporter deb package on Ubuntu 18.04. I was expecting that it would contain the prometheus-node-exporter version 0.15.2 too, but looking at the names of the exported metrics, I can see that installed node exporter must have the version >=0.16.0, due to the breaking changes in the naming of some popular metrics (ex. node_memory_Active_bytes -> node_memory_Active). 

Running /usr/bin/prometheus-node-exporter --version did not help me much - it just returned 
     version 0.15.2+ds (branch: debian/sid, revision: 0.15.2+ds-1)

Is there a possibility to check which specific version of node exporter is installed in chosen deb package version?

Christian Hoffmann

unread,
Jul 21, 2020, 3:20:33 PM7/21/20
to mordowiciel, Prometheus Users
Hi,
This sounds more like a distro/packaging question. I'm no Ubuntu/Debian
specialist, but this may help:

This lists your version along with the specification file (*.dsc?):

https://packages.ubuntu.com/bionic/prometheus-node-exporter

The .dsc file references this git:

https://salsa.debian.org/go-team/packages/prometheus-node-exporter/-/commits/debian/0.15.2+ds-1

I guess you could work from either a diff (maybe via git command line
client) or via the commit list to work out the differences.

Maybe the changelog also helps. :)

Kind regards,
Christian
Reply all
Reply to author
Forward
0 new messages