Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
30
plugins/inputs/varnish/varnish_windows.go
Normal file
30
plugins/inputs/varnish/varnish_windows.go
Normal file
|
@ -0,0 +1,30 @@
|
|||
//go:build windows
|
||||
|
||||
package varnish
|
||||
|
||||
import (
|
||||
_ "embed"
|
||||
|
||||
"github.com/influxdata/telegraf"
|
||||
"github.com/influxdata/telegraf/plugins/inputs"
|
||||
)
|
||||
|
||||
//go:embed sample.conf
|
||||
var sampleConfig string
|
||||
|
||||
type Varnish struct {
|
||||
Log telegraf.Logger `toml:"-"`
|
||||
}
|
||||
|
||||
func (v *Varnish) Init() error {
|
||||
v.Log.Warn("current platform is not supported")
|
||||
return nil
|
||||
}
|
||||
func (*Varnish) SampleConfig() string { return sampleConfig }
|
||||
func (*Varnish) Gather(_ telegraf.Accumulator) error { return nil }
|
||||
|
||||
func init() {
|
||||
inputs.Add("varnish", func() telegraf.Input {
|
||||
return &Varnish{}
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue