Documentation ¶
Index ¶
Constants ¶
View Source
const ( IPTotalUsageType = "total" IPUsedUsageType = "used" IPAvailableUsageType = "available" )
View Source
const ( IPv4 = "ipv4" IPv6 = "ipv6" DualStack = "dualstack" )
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", "ipFamily", "usageType", }, )
View Source
var RemoteClusterStatusCheckDuration = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "remote_cluster_status_check_duration", Help: "time taken for checking remote cluster status.", Buckets: []float64{0.01, 0.05, 0.1, 0.5, 1.0, 2.5, 5.0, 7.5, 10.0, 12.5, 15.0, 17.5, 20.0, 22.5, 25.0, 27.5, 30.0, 50.0, 75.0, 100.0, 1000.0}, }, []string{ "clusterName", }, )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.