Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var DbgCreateVolumeDuration = metrics.NewMetricsWithCustomLabels(prometheus.GaugeOpts{
Name: "controller_create_volume_duration_seconds",
Help: "duration of the controller createVolume",
}, "source", "method", "volume_name")
DbgCreateVolumeDuration used to collect ducation of Controller.CreateVolume
var DbgNodePublishDuration = metrics.NewMetricsWithCustomLabels(prometheus.GaugeOpts{
Name: "node_publish_volume_duration_seconds",
Help: "duration of the NodePublishVolume",
}, "source", "method", "volume_name")
DbgNodePublishDuration used to collect duration of Node.NodePublishVolume
var DbgNodeStageDuration = metrics.NewMetricsWithCustomLabels(prometheus.GaugeOpts{
Name: "node_stage_volume_duration_seconds",
Help: "duration of the NodeStageVolume",
}, "source", "method", "volume_name")
DbgNodeStageDuration used to collect duration of Node.NodeStageVolume
var DbgScheduleCounter = metrics.NewCounterWithCustomLabels(prometheus.CounterOpts{
Name: "schedule_counter",
Help: "schedule counter for pod",
}, "source", "pod_name")
DbgScheduleCounter used to collect schedule totol counts
var DbgScheduleSinceLastTime = metrics.NewMetricsWithCustomLabels(prometheus.GaugeOpts{
Name: "schedule_since_last_time",
Help: "schedule interval since last time",
}, "source", "pod_name")
DbgScheduleSinceLastTime used to collect schedule interval time
var DbgScheduleTotalTime = metrics.NewMetricsWithCustomLabels(prometheus.GaugeOpts{
Name: "schedule_total_time",
Help: "total schedule time cose for pod",
}, "source", "pod_name")
DbgScheduleTotalTime used to collect schedule total time
var KubeclientDuration = metrics.NewMetrics(prometheus.HistogramOpts{ Name: "kubeclient_execution_duration_seconds", Help: "duration of kubeclient method", Buckets: prometheus.DefBuckets, }, "method")
KubeclientDuration used to collect durations of k8s api calls
var ReconcileDuration = metrics.NewMetrics(prometheus.HistogramOpts{ Name: "reconcile_duration_seconds", Help: "duration of the each reconcile loop", Buckets: metrics.ExtendedDefBuckets, }, "type")
ReconcileDuration used to collect durations of reconcile loops
var ReservationDuration = metrics.NewMetrics(prometheus.HistogramOpts{ Name: "ac_reservation_duration", Help: "AvailableCapacity reservation duration", Buckets: prometheus.ExponentialBuckets(0.005, 1.5, 10), }, "method")
ReservationDuration used to collect ReservationHelper methods durations
var SystemCMDDuration = metrics.NewMetrics(prometheus.HistogramOpts{ Name: "system_utils_duration_seconds", Help: "Duration of the each system util", Buckets: metrics.ExtendedDefBuckets, }, "name")
SystemCMDDuration used to collect durations of system utils
Functions ¶
This section is empty.
Types ¶
This section is empty.