metrics

package
v4.2.505+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContainerCpu    InternalInflux.Measurement = "container_cpu"
	ContainerMemory InternalInflux.Measurement = "container_memory"
	NodeCpu         InternalInflux.Measurement = "node_cpu"
	NodeMemory      InternalInflux.Measurement = "node_memory"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerCpuRepository

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

func NewContainerCpuRepositoryWithConfig

func NewContainerCpuRepositoryWithConfig(influxDBCfg InternalInflux.Config) *ContainerCpuRepository

func (*ContainerCpuRepository) CreateMetrics

func (*ContainerCpuRepository) ListMetrics

type ContainerMemoryRepository

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

func NewContainerMemoryRepositoryWithConfig

func NewContainerMemoryRepositoryWithConfig(influxDBCfg InternalInflux.Config) *ContainerMemoryRepository

func (*ContainerMemoryRepository) CreateMetrics

func (*ContainerMemoryRepository) ListMetrics

type NodeCpuRepository

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

func NewNodeCpuRepositoryWithConfig

func NewNodeCpuRepositoryWithConfig(influxDBCfg InternalInflux.Config) *NodeCpuRepository

func (*NodeCpuRepository) CreateMetrics

func (r *NodeCpuRepository) CreateMetrics(metrics []*DaoMetricTypes.NodeMetricSample) error

func (*NodeCpuRepository) ListMetrics

type NodeMemoryRepository

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

func NewNodeMemoryRepositoryWithConfig

func NewNodeMemoryRepositoryWithConfig(influxDBCfg InternalInflux.Config) *NodeMemoryRepository

func (*NodeMemoryRepository) CreateMetrics

func (r *NodeMemoryRepository) CreateMetrics(metrics []*DaoMetricTypes.NodeMetricSample) error

func (*NodeMemoryRepository) ListMetrics

Jump to

Keyboard shortcuts

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