1
0
Fork 0
telegraf/plugins/inputs/intel_dlb/intel_dlb_notlinux.go

33 lines
634 B
Go
Raw Permalink Normal View History

//go:generate ../../../tools/readme_config_includer/generator
//go:build !linux
package intel_dlb
import (
_ "embed"
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/plugins/inputs"
)
//go:embed sample.conf
var sampleConfig string
type IntelDLB struct {
Log telegraf.Logger `toml:"-"`
}
func (*IntelDLB) SampleConfig() string { return sampleConfig }
func (i *IntelDLB) Init() error {
i.Log.Warn("Current platform is not supported")
return nil
}
func (*IntelDLB) Gather(_ telegraf.Accumulator) error { return nil }
func init() {
inputs.Add("intel_dlb", func() telegraf.Input {
return &IntelDLB{}
})
}