Documentation ¶
Index ¶
- type InputSystem
- func (r *InputSystem) Collect(collector pipeline.Collector) error
- func (r *InputSystem) CollectCPU(collector pipeline.Collector)
- func (r *InputSystem) CollectCore(collector pipeline.Collector)
- func (r *InputSystem) CollectDisk(collector pipeline.Collector)
- func (r *InputSystem) CollectMem(collector pipeline.Collector)
- func (r *InputSystem) CollectNet(collector pipeline.Collector)
- func (r *InputSystem) CollectProtocol(collector pipeline.Collector)
- func (r *InputSystem) Description() string
- func (r *InputSystem) Init(context pipeline.Context) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputSystem ¶
type InputSystem struct { Core bool CPU bool Mem bool Disk bool Net bool Protocol bool CPUPercent bool Disks []string NetInterfaces []string // contains filtered or unexported fields }
func (*InputSystem) CollectCPU ¶
func (r *InputSystem) CollectCPU(collector pipeline.Collector)
func (*InputSystem) CollectCore ¶
func (r *InputSystem) CollectCore(collector pipeline.Collector)
func (*InputSystem) CollectDisk ¶
func (r *InputSystem) CollectDisk(collector pipeline.Collector)
func (*InputSystem) CollectMem ¶
func (r *InputSystem) CollectMem(collector pipeline.Collector)
func (*InputSystem) CollectNet ¶
func (r *InputSystem) CollectNet(collector pipeline.Collector)
func (*InputSystem) CollectProtocol ¶
func (r *InputSystem) CollectProtocol(collector pipeline.Collector)
func (*InputSystem) Description ¶
func (r *InputSystem) Description() string
Click to show internal directories.
Click to hide internal directories.