Public Repository

Last pushed: 4 months ago
Short Description
go-carbon, graphite-web, grafana
Full Description

#######################################################
# This container have a newer version named opentokix/gografana #"
# However that container is not tested yet #
#######################################################

This is a container with a full graphite/grafana stack.

It runs go-carbon, and graphite-web and grafana.

docker pull opentokix/grafana:latest

This will throw away all data:
docker run -p 2003:2003 -p 3000:3000 -d opentokix/grafana:latest

This will save all your data in /srv/metrics on the hostmachine, including grafana plugins, dashboards etc.
docker run -d -v /srv/metrics:/data -p 2003:2003 -p 3000:3000 opentokix/grafana:latest

Update 2017-11-23:
Now it will actually save your data and not only say in the readme it will.

To install plugins, enter the container with: docker exec -it containerID /bin/bash
then execute:
grafana-cli --pluginsDir=/data/grafana/plugins plugins install neocat-cal-heatmap-panel

When you have installed all your plugins, kill the container and restart it and your plugin will be available (or issue service restart grafana-server inside container)

Then you can send metrics to to port 2003 on the form "prefix.suffix value timestamp\n" as normal collectd/carbon.

grafana user: admin/admin

First you have to do it add a datasource (Since grafana.db gets created upon first start). Add a graphite data source with the default localhost:8080 endpoint, everything else at default.

Example:
docker run -v /srv/graphite/whisper:/data/graphite/whisper,rw openokix/grafana

Docker Pull Command
Owner
opentokix