Documentation ¶
Index ¶
Constants ¶
View Source
const ( IPTotalUsageType = "total" IPUsedUsageType = "used" IPAvailableUsageType = "available" )
View Source
const ( IPStatefulAllocateType = "stateful" IPNormalAllocateType = "normal" )
Variables ¶
View Source
var IPAllocationPeriodSummary = prometheus.NewSummaryVec( prometheus.SummaryOpts{ Name: "ip_allocation_period", Help: "the period summary of ip allocation for pod", Objectives: map[float64]float64{0.5: 0.05, 0.9: 0.01, 0.99: 0.001}, }, []string{ "allocateType", "success", }, )
View Source
var IPUsageGauge = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "ip_usage", Help: "the usage of IPs in different networks", }, []string{ "networkName", "usageType", }, )
Functions ¶
func RegisterForManager ¶
func RegisterForManager() prometheus.Gatherer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.