move tags to influxdb struct, update all sample configs

This commit is contained in:
JP
2015-08-07 15:31:25 -05:00
committed by Cameron Sparr
parent 16c424de2a
commit 53969ae054
6 changed files with 112 additions and 54 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.influxdb]
tags = { "dc" = "us-phx-1" }
[redis]
address = ":6379"