system

package
v1.8.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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) Collect

func (r *InputSystem) Collect(collector pipeline.Collector) error

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

func (*InputSystem) Init

func (r *InputSystem) Init(context pipeline.Context) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL