metrics

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppliedHPATargetUtilization = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "applied_hpa_utilization_target",
		Help: "hpa utilization target values that tortoises actually applys to hpa",
	}, []string{"tortoise_name", "namespace", "container_name", "resource_name", "hpa_name"})

	AppliedHPAMinReplicas = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "applied_hpa_minreplicas",
		Help: "hpa minReplicas that tortoises actually applys to hpa",
	}, []string{"tortoise_name", "namespace", "hpa_name"})

	AppliedHPAMaxReplicas = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "applied_hpa_maxreplicas",
		Help: "hpa maxReplicas that tortoises actually applys to hpa",
	}, []string{"tortoise_name", "namespace", "hpa_name"})

	AppliedCPURequest = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "applied_cpu_request",
		Help: "cpu request (millicore) that tortoises actually applys",
	}, []string{"tortoise_name", "namespace", "container_name", "controller_name", "controller_kind"})

	AppliedMemoryRequest = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "applied_memory_request",
		Help: "memory request (byte) that tortoises actually applys",
	}, []string{"tortoise_name", "namespace", "container_name", "controller_name", "controller_kind"})

	ProposedHPATargetUtilization = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "proposed_hpa_utilization_target",
		Help: "recommended hpa utilization target values that tortoises propose",
	}, []string{"tortoise_name", "namespace", "container_name", "resource_name", "hpa_name"})

	ProposedHPAMinReplicas = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "proposed_hpa_minreplicas",
		Help: "recommended hpa minReplicas that tortoises propose",
	}, []string{"tortoise_name", "namespace", "hpa_name"})

	ProposedHPAMaxReplicas = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "proposed_hpa_maxreplicas",
		Help: "recommended hpa maxReplicas that tortoises propose",
	}, []string{"tortoise_name", "namespace", "hpa_name"})

	ProposedCPURequest = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "proposed_cpu_request",
		Help: "recommended cpu request (millicore) that tortoises propose",
	}, []string{"tortoise_name", "namespace", "container_name", "controller_name", "controller_kind"})

	ProposedMemoryRequest = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "proposed_memory_request",
		Help: "recommended memory request (byte) that tortoises propose",
	}, []string{"tortoise_name", "namespace", "container_name", "controller_name", "controller_kind"})
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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