common

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

View Source
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

View Source
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

View Source
var DbgScheduleCounter = metrics.NewCounterWithCustomLabels(prometheus.CounterOpts{
	Name: "schedule_counter",
	Help: "schedule counter for pod",
}, "source", "pod_name")

DbgScheduleCounter used to collect schedule totol counts

View Source
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

View Source
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

View Source
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

View Source
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

View Source
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

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL