Last active
October 19, 2016 20:50
-
-
Save es/5cfecf2b29c90f7d9da6 to your computer and use it in GitHub Desktop.
Setup Telegraf with InfluxDB & Grafana
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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