Cleanup comments and indentation in config file
This commit is contained in:
@@ -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_*"]
|
||||
`
|
||||
|
||||
|
||||
@@ -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 = ["/"]
|
||||
`
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user