Indent the toml config for readability

This commit is contained in:
Cameron Sparr
2015-08-26 09:21:39 -06:00
parent a00510a73c
commit 434267898b
21 changed files with 143 additions and 135 deletions

View File

@@ -20,17 +20,18 @@ type Kafka struct {
}
var sampleConfig = `
# topic to consume
topic = "topic_with_metrics"
# topic to consume
topic = "topic_with_metrics"
# the name of the consumer group
consumerGroupName = "telegraf_metrics_consumers"
# the name of the consumer group
consumerGroupName = "telegraf_metrics_consumers"
# an array of Zookeeper connection strings
zookeeperPeers = ["localhost:2181"]
# an array of Zookeeper connection strings
zookeeperPeers = ["localhost:2181"]
# Batch size of points sent to InfluxDB
batchSize = 1000`
# Batch size of points sent to InfluxDB
batchSize = 1000
`
func (k *Kafka) SampleConfig() string {
return sampleConfig