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

@@ -28,11 +28,11 @@ func (_ *CPUStats) Description() string {
}
var sampleConfig = `
# Whether to report per-cpu stats or not
### Whether to report per-cpu stats or not
percpu = true
# Whether to report total system cpu stats or not
### Whether to report total system cpu stats or not
totalcpu = true
# Comment this line if you want the raw CPU time metrics
### Comment this line if you want the raw CPU time metrics
drop = ["time_*"]
`

View File

@@ -21,8 +21,8 @@ func (_ *DiskStats) Description() string {
}
var diskSampleConfig = `
# By default, telegraf gather stats for all mountpoints.
# Setting mountpoints will restrict the stats to the specified mountpoints.
### By default, telegraf gather stats for all mountpoints.
### Setting mountpoints will restrict the stats to the specified mountpoints.
# mount_points = ["/"]
`

View File

@@ -21,11 +21,11 @@ func (_ *NetIOStats) Description() string {
}
var netSampleConfig = `
# By default, telegraf gathers stats from any up interface (excluding loopback)
# Setting interfaces will tell it to gather these explicit interfaces,
# regardless of status.
#
# interfaces = ["eth0", ... ]
### By default, telegraf gathers stats from any up interface (excluding loopback)
### Setting interfaces will tell it to gather these explicit interfaces,
### regardless of status.
###
# interfaces = ["eth0"]
`
func (_ *NetIOStats) SampleConfig() string {

View File

@@ -13,7 +13,7 @@ type NetStats struct {
}
func (_ *NetStats) Description() string {
return "Read metrics about TCP status such as established, time wait etc and UDP sockets counts."
return "Read TCP metrics such as established, time wait and sockets counts."
}
var tcpstatSampleConfig = ""