nodelocal

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckMetricNameExist

func CheckMetricNameExist(name string) bool

Types

type CpuTimeStampState

type CpuTimeStampState struct {
	// contains filtered or unexported fields
}

type DiskIOUsage

type DiskIOUsage struct {
	DiskReadKiBps  float64
	DiskWriteKiBps float64
	DiskReadIOps   float64
	DiskWriteIOps  float64
	Utilization    float64
}

type DiskState

type DiskState struct {
	// contains filtered or unexported fields
}

type NetInterfaceUsage

type NetInterfaceUsage struct {
	// ReceiveKibps is the kilobits per second for ingress
	ReceiveKibps float64
	// SentKibps is the kilobits per second for egress
	SentKibps float64
	// ReceivePckps is the package per second for ingress
	ReceivePckps float64
	// SentPckps is the package per second for egress
	SentPckps float64
	// DropIn is the package dropped per second for ingress
	DropIn float64
	// DropOut is the package dropped per second for egress
	DropOut float64
}

NetInterfaceUsage records the network usage

type NetTimeStampState

type NetTimeStampState struct {
	// contains filtered or unexported fields
}

type NodeLocal

type NodeLocal struct {
	// contains filtered or unexported fields
}

func NewNodeLocal

func NewNodeLocal(ifaces []string, exclusiveCPUSet func() cpuset.CPUSet) *NodeLocal

func (*NodeLocal) Collect

func (n *NodeLocal) Collect() (map[string][]common.TimeSeries, error)

func (*NodeLocal) GetType

func (n *NodeLocal) GetType() types.CollectType

func (*NodeLocal) Stop

func (n *NodeLocal) Stop() error

Jump to

Keyboard shortcuts

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