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 ¶
func (VROpsHostsystemContentionLongTerm) Indexes() []db.Index
Indexes for the feature.
func (VROpsHostsystemContentionLongTerm) TableName ¶
func (VROpsHostsystemContentionLongTerm) TableName() string
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 ¶
func (e *VROpsHostsystemContentionLongTermExtractor) Extract() ([]plugins.Feature, error)
Extract long term CPU contention of hostsystems. Depends on resolved vROps hostsystems (feature_vrops_resolved_hostsystem).
func (*VROpsHostsystemContentionLongTermExtractor) GetName ¶
func (*VROpsHostsystemContentionLongTermExtractor) GetName() string
Name of this feature extractor that is used in the yaml config, for logging etc.
func (VROpsHostsystemContentionLongTermExtractor) Triggers ¶
func (VROpsHostsystemContentionLongTermExtractor) Triggers() []string
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 ¶
func (VROpsHostsystemContentionShortTerm) Indexes() []db.Index
Indexes for the feature.
func (VROpsHostsystemContentionShortTerm) TableName ¶
func (VROpsHostsystemContentionShortTerm) TableName() string
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 ¶
func (e *VROpsHostsystemContentionShortTermExtractor) Extract() ([]plugins.Feature, error)
Extract short term CPU contention of hostsystems. Depends on resolved vROps hostsystems (feature_vrops_resolved_hostsystem).
func (*VROpsHostsystemContentionShortTermExtractor) GetName ¶
func (*VROpsHostsystemContentionShortTermExtractor) GetName() string
Name of this feature extractor that is used in the yaml config, for logging etc.
func (VROpsHostsystemContentionShortTermExtractor) Triggers ¶
func (VROpsHostsystemContentionShortTermExtractor) 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) 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 (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.