Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // NodeLatency reconcile node latency NodeLatency = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "ccm_node_latencies_duration_milliseconds", Help: "CCM node reconcile latency distribution in milliseconds for each verb.", Buckets: []float64{100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1500, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000}, }, []string{"verb"}, ) // RouteLatency reconcile route latency RouteLatency = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "ccm_route_latencies_duration_milliseconds", Help: "CCM route reconcile latency distribution in milliseconds for each verb.", Buckets: []float64{100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1500, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000}, }, []string{"verb"}, ) // SLBLatency reconcile SLB latency SLBLatency = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "ccm_slb_latencies_duration_milliseconds", Help: "CCM load balancer reconcile latency distribution in milliseconds for each verb.", Buckets: []float64{100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1500, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000}, }, []string{"verb"}, ) )
Functions ¶
func RegisterPrometheus ¶
func RegisterPrometheus()
RegisterPrometheus register metrics to prometheus server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.