update config sample, marshal tags from toml

This commit is contained in:
JP
2015-08-06 21:03:27 -05:00
parent 2601a09a83
commit 48c10f9454
4 changed files with 16 additions and 7 deletions

View File

@@ -3,12 +3,15 @@ interval = "5s"
http = ":11213"
debug = true
[influxdb]
[outputs]
[outputs.influxdb]
url = "http://localhost:8086"
username = "root"
password = "root"
database = "telegraf"
tags = { dc = "us-phx-1" }
[tags]
dc = "us-phx-1"
[redis]
address = ":6379"