migrationstats

package
v0.59.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PendingMigrations    = "kubevirt_migrate_vmi_pending_count"
	SchedulingMigrations = "kubevirt_migrate_vmi_scheduling_count"
	RunningMigrations    = "kubevirt_migrate_vmi_running_count"
	SucceededMigrations  = "kubevirt_migrate_vmi_succeeded_total"
	FailedMigrations     = "kubevirt_migrate_vmi_failed_total"
)

Variables

This section is empty.

Functions

func NewPrometheusScraper

func NewPrometheusScraper(ch chan<- prometheus.Metric) *prometheusScraper

Types

type MigrationCollector

type MigrationCollector struct {
	// contains filtered or unexported fields
}

func SetupMigrationsCollector

func SetupMigrationsCollector(migrationInformer cache.SharedIndexInformer) *MigrationCollector

func (*MigrationCollector) Collect

func (co *MigrationCollector) Collect(ch chan<- prometheus.Metric)

func (*MigrationCollector) Describe

func (co *MigrationCollector) Describe(_ chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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