2020-05-12 10:54:08 |
Sean Burlington |
description |
I installed cadvisor together with prometheus from ubuntu sources and was puzzled to find a lot of data missing - crucially docker container names
Testing on command line I noticed I didn't even get a version output
/usr/bin/cadvisor -version
cAdvisor version ()
apt-cache policy cadvisor
cadvisor:
Installed: 0.27.1+dfsg2-4
Candidate: 0.27.1+dfsg2-4
Version table:
*** 0.27.1+dfsg2-4 500
500 http://gb.archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
100 /var/lib/dpkg/status
I then tried downloading the latest stable version from https://github.com/google/cadvisor
and it works fine
I dropped the binary in place of the Ubuntu version and now have all the data I expected
Version info outputs normally
/usr/bin/cadvisor -version
cAdvisor version v0.35.0 (49033161)
At first I thought it might be a docker/cadvisor version issue
But as the packaged cadvisor doesn't properly give a version number I wonder if something is wrong with the packaging/build process ? |
I installed cadvisor together with prometheus from ubuntu sources and was puzzled to find a lot of data missing - crucially docker container names
Testing on command line I noticed I didn't even get a version output
/usr/bin/cadvisor -version
cAdvisor version ()
apt-cache policy cadvisor
cadvisor:
Installed: 0.27.1+dfsg2-4
Candidate: 0.27.1+dfsg2-4
Version table:
*** 0.27.1+dfsg2-4 500
500 http://gb.archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
100 /var/lib/dpkg/status
I then tried downloading the latest stable version from https://github.com/google/cadvisor
and it works fine
I dropped the binary in place of the Ubuntu version and now have all the data I expected
Version info outputs normally
/usr/bin/cadvisor -version
cAdvisor version v0.35.0 (49033161)
At first I thought it might be a docker/cadvisor version issue
But as the packaged cadvisor doesn't properly give a version number I wonder if something is wrong with the packaging/build process ? |
|