metrics

package
v1.75.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFailedToQueryCPU    = errors.New("failed to query CPU usage")
	ErrFailedToQueryMemory = errors.New("failed to query memory usage")
)

Functions

func Run

func Run(ctx context.Context, logger logrus.FieldLogger) chan *Result

Types

type Result added in v1.72.0

type Result struct {
	ResourceUtilization *api.ResourceUtilization
	// contains filtered or unexported fields
}

func (Result) Errors added in v1.72.0

func (result Result) Errors() []error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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