Chronograf¶
References¶
- influxdata Chronograf documentation
- GitHub: influxdata/influxdata-docker/chronograf
- DockerHub: influxdata Chronograf
Kapacitor integration¶
If you selected Kapacitor in the menu and want Chronograf to be able to interact with it, you need to edit docker-compose.yml
to un-comment the lines which are commented-out in the following:
chronograf:
…
environment:
…
# - KAPACITOR_URL=http://kapacitor:9092
depends_on:
…
# - kapacitor
If the Chronograf container is already running when you make this change, run:
$ cd ~IOTstack
$ docker-compose up -d chronograf
Upgrading Chronograf¶
You can update the container via:
$ cd ~/IOTstack
$ docker-compose pull
$ docker-compose up -d
$ docker system prune
In words:
docker-compose pull
downloads any newer images;docker-compose up -d
causes any newly-downloaded images to be instantiated as containers (replacing the old containers); and- the
prune
gets rid of the outdated images.
Chronograf version pinning¶
If you need to pin to a particular version:
- Use your favourite text editor to open
docker-compose.yml
. -
Find the line:
image: chronograf:latest
-
Replace
latest
with the version you wish to pin to. For example, to pin to version 1.9.0:image: chronograf:1.9.0
-
Save the file and tell
docker-compose
to bring up the container:$ cd ~/IOTstack $ docker-compose up -d chronograf $ docker system prune