Seems to be a toml parse bug around triple pounds
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,10 +21,10 @@ 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.
|
||||
###
|
||||
## 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"]
|
||||
`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user