1
0
Fork 0
telegraf/plugins/inputs/zfs/zfs.go
Daniel Baumann 4978089aab
Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-24 07:26:29 +02:00

25 lines
568 B
Go

//go:generate ../../../tools/readme_config_includer/generator
package zfs
import (
_ "embed"
"github.com/influxdata/telegraf"
)
//go:embed sample.conf
var sampleConfig string
type Zfs struct {
KstatPath string `toml:"kstatPath"`
KstatMetrics []string `toml:"kstatMetrics"`
PoolMetrics bool `toml:"poolMetrics"`
DatasetMetrics bool `toml:"datasetMetrics"`
Log telegraf.Logger `toml:"-"`
helper //nolint:unused // for OS-specific usage
}
func (*Zfs) SampleConfig() string {
return sampleConfig
}