- Alpine: 3.5
- Telegraf (StatsD): 1.2.1
- InfluxDB: 1.2.2
- Grafana: 4.2.0
To start the container the first time launch:
docker run -d \
--name docker-statsd-influxdb-grafana \
-p 3000:3000 \
-p 8083:8083 \
-p 8086:8086 \
-p 8125:8125/udp \
entelo/docker-statsd-influxdb-grafana:latest
You can replace latest
with the desired version listed in changelog file.
To stop the container launch:
docker stop docker-statsd-influxdb-grafana
To start the container again launch:
docker start docker-statsd-influxdb-grafana
Container Service
3000 grafana
8083 influxdb-admin
8086 influxdb
8125 statsd
Username: admin
Password: admin
- Using the wizard click on
Add data source
- Choose a
name
for the source and flag it asDefault
- Choose
InfluxDB
astype
- Choose
direct
asaccess
- Fill remaining fields as follows and click on
Add
without altering other fields
Url: http://localhost:8086
Database: telegraf
User: <empty>
Password: <empty>
Basic auth and credentials must be left unflagged. Proxy is not required.
Now you are ready to add your first dashboard and launch some query on database.
Open http://localhost:8083 and use database telegraf
.
Run influx in the container to open InfluxDB Shell (CLI)