Documentation ¶
Overview ¶
Package localmetrics is the package for local-metrics
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // NetAttachDefInstanceCounter ... Total no of network attachment definition instance in the cluster NetAttachDefInstanceCounter = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "network_attachment_definition_instances", Help: "Metric to get number of instance using network attachment definition in the cluster.", }, []string{"networks"}) // NetAttachDefEnabledInstanceUp ... check if any instance with netattachdef config enabled NetAttachDefEnabledInstanceUp = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "network_attachment_definition_enabled_instance_up", Help: "Metric to identify clusters with network attachment definition enabled instances.", }, []string{"networks"}) )
Functions ¶
func GetStoredValue ¶
GetStoredValue ... Get stroed config value for pod key
func SetNetAttachDefEnabledInstanceUp ¶
SetNetAttachDefEnabledInstanceUp ...
func SetStoredValue ¶
SetStoredValue ... set stored key value
func UpdateNetAttachDefInstanceMetrics ¶
UpdateNetAttachDefInstanceMetrics ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.