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)
Click to show internal directories.
Click to hide internal directories.