kvm

package
v0.0.0-...-4be979a Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2025 License: Apache-2.0 Imports: 0 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 NodeExporterHostCPUUsage

type NodeExporterHostCPUUsage struct {
	ComputeHost string  `db:"compute_host"`
	AvgCPUUsage float64 `db:"avg_cpu_usage"`
	MaxCPUUsage float64 `db:"max_cpu_usage"`
}

Feature that maps CPU usage of kvm hosts.

func (NodeExporterHostCPUUsage) Indexes

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

Indexes for the feature.

func (NodeExporterHostCPUUsage) TableName

func (NodeExporterHostCPUUsage) TableName() string

Table under which the feature is stored.

type NodeExporterHostMemoryActive

type NodeExporterHostMemoryActive struct {
	ComputeHost     string  `db:"compute_host"`
	AvgMemoryActive float64 `db:"avg_memory_active"`
	MaxMemoryActive float64 `db:"max_memory_active"`
}

Feature that maps memory active percentage of kvm hosts.

func (NodeExporterHostMemoryActive) Indexes

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

Indexes for the feature.

func (NodeExporterHostMemoryActive) TableName

Table under which the feature is stored.

Jump to

Keyboard shortcuts

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