Documentation ¶
Overview ¶
+build windows
Index ¶
- type WmiColumnDef
- type WmiInput
- func (w *WmiInput) Collect(acc telegraf.Accumulator, measurement string, wmiObjects []*WmiObject) error
- func (w *WmiInput) ConnectWmi() error
- func (w *WmiInput) Description() string
- func (w *WmiInput) Gather(acc telegraf.Accumulator) error
- func (w *WmiInput) ParseConfig() error
- func (w *WmiInput) Process(measurement string, acc telegraf.Accumulator) error
- func (w *WmiInput) SampleConfig() string
- type WmiMetricItem
- type WmiObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WmiColumnDef ¶
type WmiInput ¶
func (*WmiInput) ConnectWmi ¶
func (*WmiInput) Description ¶
Description returns a one-sentence description on the Input
func (*WmiInput) Gather ¶
func (w *WmiInput) Gather(acc telegraf.Accumulator) error
Gather takes in an accumulator and adds the metrics that the Input gathers. This is called every "interval"
func (*WmiInput) ParseConfig ¶
func (*WmiInput) Process ¶
func (w *WmiInput) Process(measurement string, acc telegraf.Accumulator) error
func (*WmiInput) SampleConfig ¶
SampleConfig returns the default configuration of the Input
type WmiMetricItem ¶
type WmiMetricItem struct {
// contains filtered or unexported fields
}
func (*WmiMetricItem) Process ¶
func (mi *WmiMetricItem) Process(cmap map[string]WmiColumnDef, dataIn reflect.Value) error
Click to show internal directories.
Click to hide internal directories.