vmware

package
v0.0.0-...-ddb491b Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: Apache-2.0 Imports: 5 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() []db.Index

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

func (*VROpsHostsystemContentionLongTermExtractor) GetName

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

func (VROpsHostsystemContentionLongTermExtractor) Triggers

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

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

func (*VROpsHostsystemContentionShortTermExtractor) GetName

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

func (VROpsHostsystemContentionShortTermExtractor) 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) Indexes

func (VROpsProjectNoisiness) Indexes() []db.Index

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

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