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)
Click to show internal directories.
Click to hide internal directories.