Documentation
¶
Index ¶
- Variables
- func DecPendingMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
- func DecRunningMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
- func DecSchedulingMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
- func IncFailedMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
- func IncPendingMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
- func IncRunningMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
- func IncSchedulingMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
- func IncSucceededMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
- func RegisterMigrationMetrics()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CurrentPendingMigrations = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "kubevirt_migrate_vmi_pending_count", Help: "Number of current pending migrations.", }, migrationsLabels, ) CurrentSchedulingMigrations = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "kubevirt_migrate_vmi_scheduling_count", Help: "Number of current scheduling migrations.", }, migrationsLabels, ) CurrentRunningMigrations = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "kubevirt_migrate_vmi_running_count", Help: "Number of current running migrations.", }, migrationsLabels, ) MigrationsSucceededTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "kubevirt_migrate_vmi_succeeded_total", Help: "Number of migrations successfully executed.", }, migrationsLabels, ) MigrationsFailedTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "kubevirt_migrate_vmi_failed_total", Help: "Number of failed migrations.", }, migrationsLabels, ) )
Functions ¶
func DecPendingMigrations ¶
func DecPendingMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
func DecRunningMigrations ¶
func DecRunningMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
func DecSchedulingMigrations ¶
func DecSchedulingMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
func IncFailedMigrations ¶
func IncFailedMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
func IncPendingMigrations ¶
func IncPendingMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
func IncRunningMigrations ¶
func IncRunningMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
func IncSchedulingMigrations ¶
func IncSchedulingMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
func IncSucceededMigrations ¶
func IncSucceededMigrations(vmi *virtv1.VirtualMachineInstance, targetPod *k8sv1.Pod)
func RegisterMigrationMetrics ¶
func RegisterMigrationMetrics()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.