You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am starting Cadvisor like this:
docker run --volume=/:/rootfs:ro --volume=/var/run:/var/run:rw --volume=/sys:/sys:ro --volume=/var/lib/docker/:/var/lib/docker:ro --publish=8080:8080 --detach=true --name=cadvisor --restart=always google/cadvisor:latest --logtostderr -storage_driver=influxdb -storage_driver_host=10.0.0.22:8086 -storage_driver_db=cadvisorDB
I am starting influxDB like this:
docker run -d --name=influxdb -p 8083:8083 -p 8086:8086 --restart=always -expose 8090 --expose 8099 tutum/influxdb
When I execute a sample request on InfluxDB like this "select * from stats" it shows:
ERROR: {"error":"error parsing query: found STATS, expected identifier at line 1, char 15
It's really look like you use influxdb 0.9 and not 0.8 because on the 0.8.8 web ui, when you create a database you have Shard Spaces box, but it's more a problem with influxdb than cadvisor IMO.
I juste made a test with by running influxdb with:
docker run -d --name=influxdb -p 8083:8083 -p 8086:8086 --restart=always -expose 8090 --expose 8099 tutum/influxdb
And with a force refresh (remove my browser cache).
@vishh Although I can definitely agree with your point, most documentation I found uses the the tag latest... It confuses a lot of users, including myself... It since there was not Git Tag on this merge request, it is hard to find which version this is released...
Could you guys please tag the merge as part of the release process, in case the docker latest tag is not used? that would simplify and help users finding features...!
Activity
jmaitrehenry commentedon Jul 2, 2015
Hi,
You are using influxdb v0.9 that is not currently supported by cadvisor, see #743.
You can use influxdb 0.8 just by using tutum/influxdb:0.8.8
mboussaa commentedon Jul 2, 2015
Thank you for your answer. I changed the image however now, when I create a new database on influxDB. I get this message:

I can not understand this issue. The only thing I have changed is the influxDB docker image.
docker logs influxdb doesn't report any issue.
jmaitrehenry commentedon Jul 2, 2015
It's really look like you use influxdb 0.9 and not 0.8 because on the 0.8.8 web ui, when you create a database you have Shard Spaces box, but it's more a problem with influxdb than cadvisor IMO.
I juste made a test with by running influxdb with:
docker run -d --name=influxdb -p 8083:8083 -p 8086:8086 --restart=always -expose 8090 --expose 8099 tutum/influxdb
And with a force refresh (remove my browser cache).
mboussaa commentedon Jul 2, 2015
Ok so the solution is to clear the web browser cache.
You can close this issue.
Thank you for your help
svenmueller commentedon Oct 19, 2015
is influxdb 0.9.x still not supported by cadvisor?
marcellodesales commentedon Feb 4, 2016
@svenmueller I tested a PR and it is now supported... #1040 (comment)
I built an image to help others at https://hub.docker.com/r/marcellodesales/google-cadvisor/... I will maintain it until the team releases a new version with it.
vishh commentedon Feb 4, 2016
FYI: google/cadvisor:v0.20.5 should include support for InfluxDB v0.9
On Wed, Feb 3, 2016 at 5:30 PM, Marcello de Sales [email protected]
wrote:
marcellodesales commentedon Feb 4, 2016
@vishh I did not verify it :S Well that's nice then I will remove my image... thanks!
marcellodesales commentedon Feb 5, 2016
@vishh I see the new image works at the tag you mentioned.
@mboussaa Use the tag
v0.20.5and everything is working on the latest.However, the
latesttag is not pointing to thev0.20.5version. What's the process to update the tag?vishh commentedon Feb 5, 2016
In general, we don't believe in the
latesttag. But if you are relying onit, we can update that tag as well.
On Fri, Feb 5, 2016 at 11:33 AM, Marcello de Sales <[email protected]
vishh commentedon Feb 5, 2016
I have updated the
latesttag to point to v0.20.5.On Fri, Feb 5, 2016 at 3:20 PM, Vishnu Kannan [email protected] wrote:
marcellodesales commentedon Feb 6, 2016
@vishh Although I can definitely agree with your point, most documentation I found uses the the tag
latest... It confuses a lot of users, including myself... It since there was not Git Tag on this merge request, it is hard to find which version this is released...Could you guys please tag the merge as part of the release process, in case the
docker latesttag is not used? that would simplify and help users finding features...!Thanks a lot!
dashpole commentedon Mar 16, 2017
closing since this issue is resolved