metrics

package
v4.2.521+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppCPUUsageMillicoresEntity

type AppCPUUsageMillicoresEntity struct {
	NamespaceName string
	AppName       string
	Samples       []FormatTypes.Sample
}

AppCPUUsageMillicoresEntity Encapsulate App cpu usage millicores entity

func (*AppCPUUsageMillicoresEntity) AppMetric

AppMetric Build AppMetric base on entity properties

type AppMemoryUsageBytesEntity

type AppMemoryUsageBytesEntity struct {
	NamespaceName string
	AppName       string
	Samples       []FormatTypes.Sample
}

AppMemoryUsageBytesEntity Encapsulate App memory usage millicores entity

func (*AppMemoryUsageBytesEntity) AppMetric

AppMetric Build AppMetric base on entity properties

type ClusterCPUUsageMillicoresEntity

type ClusterCPUUsageMillicoresEntity struct {
	ClusterName string
	Samples     []FormatTypes.Sample
}

func (*ClusterCPUUsageMillicoresEntity) ClusterMetric

ClusterMetric Build ClusterMetric base on entity properties

type ClusterMemoryUsageBytesEntity

type ClusterMemoryUsageBytesEntity struct {
	ClusterName string
	Samples     []FormatTypes.Sample
}

func (*ClusterMemoryUsageBytesEntity) ClusterMetric

ClusterMetric Build ClusterMetric base on entity properties

type ContainerCPUUsageMillicoresEntity

type ContainerCPUUsageMillicoresEntity struct {
	PrometheusEntity InternalPromth.Entity

	Namespace     string
	PodName       string
	ContainerName string
	Samples       []FormatTypes.Sample
}

func (*ContainerCPUUsageMillicoresEntity) ContainerMetric

ContainerMetric Build ContainerMetric base on entity properties

type ContainerMemoryUsageBytesEntity

type ContainerMemoryUsageBytesEntity struct {
	PrometheusEntity InternalPromth.Entity

	Namespace     string
	PodName       string
	ContainerName string
	Samples       []FormatTypes.Sample
}

func (*ContainerMemoryUsageBytesEntity) ContainerMetric

ContainerMetric Build ContainerMetric base on entity properties

type ControllerCPUUsageMillicoresEntity

type ControllerCPUUsageMillicoresEntity struct {
	NamespaceName  string
	ControllerName string
	ControllerKind string
	Samples        []FormatTypes.Sample
}

ControllerCPUUsageMillicoresEntity Encapsulate controller cpu usage millicores entity

func (*ControllerCPUUsageMillicoresEntity) ControllerMetric

ControllerMetric Build ControllerMetric base on entity properties

type ControllerMemoryUsageBytesEntity

type ControllerMemoryUsageBytesEntity struct {
	NamespaceName  string
	ControllerName string
	ControllerKind string
	Samples        []FormatTypes.Sample
}

ControllerMemoryUsageBytesEntity Encapsulate controller memory usage millicores entity

func (*ControllerMemoryUsageBytesEntity) ControllerMetric

ControllerMetric Build ControllerMetric base on entity properties

type NamespaceCPUUsageMillicoresEntity

type NamespaceCPUUsageMillicoresEntity struct {
	PrometheusEntity InternalPromth.Entity

	NamespaceName string
	Samples       []FormatTypes.Sample
}

func (*NamespaceCPUUsageMillicoresEntity) NamespaceMetric

NamespaceMetric Build NamespaceMetric base on entity properties

type NamespaceMemoryUsageBytesEntity

type NamespaceMemoryUsageBytesEntity struct {
	PrometheusEntity InternalPromth.Entity

	NamespaceName string
	Samples       []FormatTypes.Sample
}

func (*NamespaceMemoryUsageBytesEntity) NamespaceMetric

NamespaceMetric Build NamespaceMetric base on entity properties

type NodeCPUUsageMillicoresEntity

type NodeCPUUsageMillicoresEntity struct {
	NodeName string
	Samples  []FormatTypes.Sample
}

func (*NodeCPUUsageMillicoresEntity) NodeMetric

NodeMetric Build NodeMetric base on entity properties

type NodeMemoryBytesUsageEntity

type NodeMemoryBytesUsageEntity struct {
	NodeName string
	Samples  []FormatTypes.Sample
}

func (*NodeMemoryBytesUsageEntity) NodeMetric

NodeMetric Build NodeMetric base on entity properties

type PodCPUUsageMillicoresEntity

type PodCPUUsageMillicoresEntity struct {
	NamespaceName string
	PodName       string
	Samples       []FormatTypes.Sample
}

type PodMemoryUsageBytesEntity

type PodMemoryUsageBytesEntity struct {
	NamespaceName string
	PodName       string
	Samples       []FormatTypes.Sample
}

Jump to

Keyboard shortcuts

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