metrics

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NodeHealthyLabelOverride = "healthy"
	MetricsNamespace         = "node_undertaker"
	NodeMetricsSubsystem     = "node"
	HealthMetricName         = "health"
	MetricLabelNode          = "node"
	MetricLabelStatus        = "status"
)

Variables

This section is empty.

Functions

func Initialize

func Initialize(lister v1.NodeLister) func()

Types

type NodeStatusCollector

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

func CreateNodeStatusCollector

func CreateNodeStatusCollector(lister v1.NodeLister) NodeStatusCollector

func (NodeStatusCollector) Collect

func (nsc NodeStatusCollector) Collect(metrics chan<- prometheus.Metric)

func (NodeStatusCollector) Describe

func (nsc NodeStatusCollector) Describe(descs chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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