Cleanup comments and indentation in config file
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user