Cleanup comments and indentation in config file

This commit is contained in:
Cameron Sparr
2016-02-08 22:57:26 -07:00
parent fb75db2f1f
commit fc7fa4b6c5
45 changed files with 237 additions and 242 deletions

View File

@@ -33,14 +33,14 @@ type InfluxDB struct {
var sampleConfig = `
### The full HTTP or UDP endpoint URL for your InfluxDB instance.
### Multiple urls can be specified but it is assumed that they are part of the same
### cluster, this means that only ONE of the urls will be written to each interval.
### Multiple urls can be specified as part of the same cluster,
### this means that only ONE of the urls will be written to each interval.
# urls = ["udp://localhost:8089"] # UDP endpoint example
urls = ["http://localhost:8086"] # required
### The target database for metrics (telegraf will create it if not exists)
database = "telegraf" # required
### Precision of writes, valid values are n, u, ms, s, m, and h
### note: using second precision greatly helps InfluxDB compression
### note: using "s" precision greatly improves InfluxDB compression
precision = "s"
### Connection timeout (for the connection with InfluxDB), formatted as a string.