Skip to content

Instantly share code, notes, and snippets.

@es
Last active October 19, 2016 20:50
Show Gist options
  • Save es/5cfecf2b29c90f7d9da6 to your computer and use it in GitHub Desktop.
Save es/5cfecf2b29c90f7d9da6 to your computer and use it in GitHub Desktop.
Setup Telegraf with InfluxDB & Grafana
telegraf:
image: emil/telegraf
volumes:
- telegraf.conf:/etc/opt/influxdb/telegraf.conf:ro
links:
- influxdb
influxdb:
image: tutum/influxdb
ports:
- "8086:8086"
- "8083:8083"
grafana:
image: grafana/grafana
links:
- influxdb
ports:
- "3000:3000"
[influxdb]
# The full HTTP endpoint URL for your InfluxDB instance
url = "http://192.168.59.103:8086" # required.
# The target database for metrics. This database must already exist
database = "telegraf" # required.
[cpu]
# no configuration
[docker]
# no configuration
[mem]
# no configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment