28 lines
442 B
Go
28 lines
442 B
Go
|
//go:build windows
|
||
|
|
||
|
package processes
|
||
|
|
||
|
import (
|
||
|
"github.com/influxdata/telegraf"
|
||
|
"github.com/influxdata/telegraf/plugins/inputs"
|
||
|
)
|
||
|
|
||
|
type Processes struct {
|
||
|
Log telegraf.Logger
|
||
|
}
|
||
|
|
||
|
func (e *Processes) Init() error {
|
||
|
e.Log.Warn("Current platform is not supported")
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (*Processes) Gather(telegraf.Accumulator) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
inputs.Add("processes", func() telegraf.Input {
|
||
|
return &Processes{}
|
||
|
})
|
||
|
}
|