monitoring

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PodStatusVec *prometheus.GaugeVec
)

Functions

func RemoveDatacenterPods

func RemoveDatacenterPods(namespace, cluster, datacenter string)

func RemovePodStatusMetric

func RemovePodStatusMetric(pod *corev1.Pod)

func UpdatePodStatusMetric

func UpdatePodStatusMetric(pod *corev1.Pod)

Types

type PodStatus

type PodStatus string
const (
	PodStatusInitializing    PodStatus = "Initializing"
	PodStatusReady           PodStatus = "Ready"
	PodStatusPending         PodStatus = "Pending"
	PodStatusError           PodStatus = "Error"
	PodStatusDecommissioning PodStatus = "Decommissioning"
)

Jump to

Keyboard shortcuts

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