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 ¶
func (e *VROpsHostsystemContentionExtractor) Extract() ([]plugins.Feature, error)
Extract CPU contention of hostsystems. Depends on resolved vROps hostsystems (feature_vrops_resolved_hostsystem).
func (*VROpsHostsystemContentionExtractor) GetName ¶
func (*VROpsHostsystemContentionExtractor) GetName() string
Name of this feature extractor that is used in the yaml config, for logging etc.
func (VROpsHostsystemContentionExtractor) Triggers ¶
func (VROpsHostsystemContentionExtractor) Triggers() []string
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 (e *VROpsProjectNoisinessExtractor) Extract() ([]plugins.Feature, error)
func (*VROpsProjectNoisinessExtractor) GetName ¶
func (e *VROpsProjectNoisinessExtractor) GetName() string
Name of this feature extractor that is used in the yaml config, for logging etc.
func (VROpsProjectNoisinessExtractor) Triggers ¶
func (VROpsProjectNoisinessExtractor) Triggers() []string
Get message topics that trigger a re-execution of this extractor.