metrics

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

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

func New

func New() *Metrics

func (*Metrics) GetSystemMetrics

func (m *Metrics) GetSystemMetrics(netif string) api.ResourceMetrics

GetSystemMetrics returns a ResourceMetrics map with various pod and system level metrics.

func (*Metrics) GetUnitMetrics

func (m *Metrics) GetUnitMetrics(name string) api.ResourceMetrics

GetUnitMetrics returns a ResourceMetrics map with various container level metrics.

Jump to

Keyboard shortcuts

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