vmware

package
v0.0.0-...-5b24d61 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: Apache-2.0 Imports: 4 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) TableName

func (ResolvedVROpsHostsystem) TableName() string

Table under which the feature is stored.

type VROpsHostsystemContention

type VROpsHostsystemContention 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 (VROpsHostsystemContention) TableName

func (VROpsHostsystemContention) TableName() string

Table under which the feature is stored.

type VROpsHostsystemContentionExtractor

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

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

func (*VROpsHostsystemContentionExtractor) Extract

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

func (*VROpsHostsystemContentionExtractor) GetName

Name of this feature extractor that is used in the yaml config, for logging etc.

func (VROpsHostsystemContentionExtractor) Triggers

Get message topics that trigger a re-execution of this extractor.

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.

func (*VROpsHostsystemResolver) GetName

func (e *VROpsHostsystemResolver) GetName() string

Name of this feature extractor that is used in the yaml config, for logging etc.

func (VROpsHostsystemResolver) Triggers

func (VROpsHostsystemResolver) Triggers() []string

Get message topics that trigger a re-execution of this extractor.

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) 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

func (*VROpsProjectNoisinessExtractor) GetName

Name of this feature extractor that is used in the yaml config, for logging etc.

func (VROpsProjectNoisinessExtractor) Triggers

Get message topics that trigger a re-execution of this extractor.

Jump to

Keyboard shortcuts

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