kvm

package
v0.0.0-...-1318f74 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LibvirtDomainCPUStealPct

type LibvirtDomainCPUStealPct struct {
	// The openstack server instance uuid.
	InstanceUUID string `db:"instance_uuid"`
	// The compute host on which the instance is running.
	Host string `db:"host"`
	// The maximum steal pct recorded.
	MaxStealTimePct float64 `db:"max_steal_time_pct"`
}

func (LibvirtDomainCPUStealPct) Indexes

func (LibvirtDomainCPUStealPct) Indexes() map[string][]string

Indexes for the feature.

func (LibvirtDomainCPUStealPct) TableName

func (LibvirtDomainCPUStealPct) TableName() string

Table under which the feature is stored.

type LibvirtDomainCPUStealPctExtractor

type LibvirtDomainCPUStealPctExtractor struct {
	// Common base for all extractors that provides standard functionality.
	plugins.BaseExtractor[
		struct{},
		LibvirtDomainCPUStealPct,
	]
}

Extractor that extracts CPU steal percentage of kvm instances and stores it as a feature into the database.

func (*LibvirtDomainCPUStealPctExtractor) Extract

Extract CPU steal time of kvm hosts.

Jump to

Keyboard shortcuts

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