Cleanup comments and indentation in config file
This commit is contained in:
@@ -23,16 +23,16 @@ type poolInfo struct {
|
||||
}
|
||||
|
||||
var sampleConfig = `
|
||||
# ZFS kstat path
|
||||
# If not specified, then default is:
|
||||
# kstatPath = "/proc/spl/kstat/zfs"
|
||||
#
|
||||
# By default, telegraf gather all zfs stats
|
||||
# If not specified, then default is:
|
||||
# kstatMetrics = ["arcstats", "zfetchstats", "vdev_cache_stats"]
|
||||
#
|
||||
# By default, don't gather zpool stats
|
||||
# poolMetrics = false
|
||||
### ZFS kstat path
|
||||
### If not specified, then default is:
|
||||
kstatPath = "/proc/spl/kstat/zfs"
|
||||
|
||||
### By default, telegraf gather all zfs stats
|
||||
### If not specified, then default is:
|
||||
kstatMetrics = ["arcstats", "zfetchstats", "vdev_cache_stats"]
|
||||
|
||||
### By default, don't gather zpool stats
|
||||
poolMetrics = false
|
||||
`
|
||||
|
||||
func (z *Zfs) SampleConfig() string {
|
||||
|
||||
Reference in New Issue
Block a user