metrics

package
v4.2.532+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0 Imports: 15 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"
	ApplicationCpu    InternalInflux.Measurement = "application_cpu"
	ApplicationMemory InternalInflux.Measurement = "application_memory"
	ClusterCpu        InternalInflux.Measurement = "cluster_cpu"
	ClusterMemory     InternalInflux.Measurement = "cluster_memory"
	NamespaceCpu      InternalInflux.Measurement = "namespace_cpu"
	NamespaceMemory   InternalInflux.Measurement = "namespace_memory"
	ControllerCpu     InternalInflux.Measurement = "controller_cpu"
	ControllerMemory  InternalInflux.Measurement = "controller_memory"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationCPURepository

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

func NewApplicationCPURepositoryWithConfig

func NewApplicationCPURepositoryWithConfig(influxDBCfg InternalInflux.Config) *ApplicationCPURepository

func (*ApplicationCPURepository) CreateMetrics

func (*ApplicationCPURepository) GetApplicationMetricMap

type ApplicationMemoryRepository

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

func NewApplicationMemoryRepositoryWithConfig

func NewApplicationMemoryRepositoryWithConfig(influxDBCfg InternalInflux.Config) *ApplicationMemoryRepository

func (*ApplicationMemoryRepository) CreateMetrics

func (*ApplicationMemoryRepository) GetApplicationMetricMap

type ClusterCPURepository

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

func NewClusterCPURepositoryWithConfig

func NewClusterCPURepositoryWithConfig(influxDBCfg InternalInflux.Config) *ClusterCPURepository

func (*ClusterCPURepository) CreateMetrics

func (*ClusterCPURepository) GetClusterMetricMap

type ClusterMemoryRepository

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

func NewClusterMemoryRepositoryWithConfig

func NewClusterMemoryRepositoryWithConfig(influxDBCfg InternalInflux.Config) *ClusterMemoryRepository

func (*ClusterMemoryRepository) CreateMetrics

func (*ClusterMemoryRepository) GetClusterMetricMap

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 ControllerCPURepository

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

func NewControllerCPURepositoryWithConfig

func NewControllerCPURepositoryWithConfig(influxDBCfg InternalInflux.Config) *ControllerCPURepository

func (*ControllerCPURepository) CreateMetrics

type ControllerMemoryRepository

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

func NewControllerMemoryRepositoryWithConfig

func NewControllerMemoryRepositoryWithConfig(influxDBCfg InternalInflux.Config) *ControllerMemoryRepository

func (*ControllerMemoryRepository) CreateMetrics

func (*ControllerMemoryRepository) GetControllerMetricMap

type NamespaceCPURepository

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

func NewNamespaceCPURepositoryWithConfig

func NewNamespaceCPURepositoryWithConfig(influxDBCfg InternalInflux.Config) *NamespaceCPURepository

func (*NamespaceCPURepository) CreateMetrics

type NamespaceMemoryRepository

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

func NewNamespaceMemoryRepositoryWithConfig

func NewNamespaceMemoryRepositoryWithConfig(influxDBCfg InternalInflux.Config) *NamespaceMemoryRepository

func (*NamespaceMemoryRepository) CreateMetrics

func (*NamespaceMemoryRepository) GetNamespaceMetricMap

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