migrationstats

package
v1.0.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 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"
	FailedMigrations     = "kubevirt_migrate_vmi_failed"
)

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