vmware

package
v0.0.0-...-c559b82 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 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 ResolvedVROpsHostsystem

type ResolvedVROpsHostsystem struct {
	VROpsHostsystem string `db:"vrops_hostsystem"`
	NovaComputeHost string `db:"nova_compute_host"`
}

Feature that resolves the vROps metrics hostsystem label to the corresponding Nova compute host.

func (ResolvedVROpsHostsystem) Indexes

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

Indexes for the feature.

func (ResolvedVROpsHostsystem) TableName

func (ResolvedVROpsHostsystem) TableName() string

Table under which the feature is stored.

type VROpsHostsystemContentionLongTerm

type VROpsHostsystemContentionLongTerm struct {
	ComputeHost      string  `db:"compute_host"`
	AvgCPUContention float64 `db:"avg_cpu_contention"`
	MaxCPUContention float64 `db:"max_cpu_contention"`
}

Feature that maps CPU contention of vROps hostsystems.

func (VROpsHostsystemContentionLongTerm) Indexes

Indexes for the feature.

func (VROpsHostsystemContentionLongTerm) TableName

Table under which the feature is stored.

type VROpsHostsystemContentionLongTermExtractor

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

Extractor that extracts CPU contention of vROps hostsystems and stores it as a feature into the database.

func (*VROpsHostsystemContentionLongTermExtractor) Extract

Extract long term CPU contention of hostsystems. Depends on resolved vROps hostsystems (feature_vrops_resolved_hostsystem).

type VROpsHostsystemContentionShortTerm

type VROpsHostsystemContentionShortTerm struct {
	ComputeHost      string  `db:"compute_host"`
	AvgCPUContention float64 `db:"avg_cpu_contention"`
	MaxCPUContention float64 `db:"max_cpu_contention"`
}

Feature that maps CPU contention of vROps hostsystems.

func (VROpsHostsystemContentionShortTerm) Indexes

Indexes for the feature.

func (VROpsHostsystemContentionShortTerm) TableName

Table under which the feature is stored.

type VROpsHostsystemContentionShortTermExtractor

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

Extractor that extracts CPU contention of vROps hostsystems and stores it as a feature into the database.

func (*VROpsHostsystemContentionShortTermExtractor) Extract

Extract short term CPU contention of hostsystems. Depends on resolved vROps hostsystems (feature_vrops_resolved_hostsystem).

type VROpsHostsystemResolver

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

Extractor that resolves the vROps metrics hostsystem label to the corresponding Nova compute host and stores it as a feature into the database.

func (*VROpsHostsystemResolver) Extract

func (e *VROpsHostsystemResolver) Extract() ([]plugins.Feature, error)

Resolve vROps hostsystems to Nova compute hosts.

type VROpsProjectNoisiness

type VROpsProjectNoisiness struct {
	Project         string  `db:"project"`
	ComputeHost     string  `db:"compute_host"`
	AvgCPUOfProject float64 `db:"avg_cpu_of_project"`
}

Feature that calculates the noisiness of projects and on which compute hosts they are currently running.

func (VROpsProjectNoisiness) Indexes

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

Indexes for the feature.

func (VROpsProjectNoisiness) TableName

func (VROpsProjectNoisiness) TableName() string

Table under which the feature is stored.

type VROpsProjectNoisinessExtractor

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

Extractor that extracts the noisiness of projects and on which compute hosts they are currently running and stores it as a feature into the database.

func (*VROpsProjectNoisinessExtractor) Extract

Jump to

Keyboard shortcuts

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