Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeExporterHostCPUUsage ¶
type NodeExporterHostCPUUsage struct {
ComputeHost string `db:"compute_host"`
AvgCPUUsage float64 `db:"avg_cpu_usage"`
MaxCPUUsage float64 `db:"max_cpu_usage"`
}
Feature that maps CPU usage of kvm hosts.
func (NodeExporterHostCPUUsage) Indexes ¶
func (NodeExporterHostCPUUsage) Indexes() []db.Index
Indexes for the feature.
func (NodeExporterHostCPUUsage) TableName ¶
func (NodeExporterHostCPUUsage) TableName() string
Table under which the feature is stored.
type NodeExporterHostCPUUsageExtractor ¶
type NodeExporterHostCPUUsageExtractor struct {
// Common base for all extractors that provides standard functionality.
plugins.BaseExtractor[
struct{},
NodeExporterHostCPUUsage,
]
}
Extractor that extracts CPU usage of kvm hosts and stores it as a feature into the database.
func (*NodeExporterHostCPUUsageExtractor) Extract ¶
func (e *NodeExporterHostCPUUsageExtractor) Extract() ([]plugins.Feature, error)
Extract CPU usage of kvm hosts.
func (*NodeExporterHostCPUUsageExtractor) GetName ¶
func (*NodeExporterHostCPUUsageExtractor) GetName() string
Name of this feature extractor that is used in the yaml config, for logging etc.
func (NodeExporterHostCPUUsageExtractor) Triggers ¶
func (NodeExporterHostCPUUsageExtractor) Triggers() []string
Get message topics that trigger a re-execution of this extractor.
type NodeExporterHostMemoryActive ¶
type NodeExporterHostMemoryActive struct {
ComputeHost string `db:"compute_host"`
AvgMemoryActive float64 `db:"avg_memory_active"`
MaxMemoryActive float64 `db:"max_memory_active"`
}
Feature that maps memory active percentage of kvm hosts.
func (NodeExporterHostMemoryActive) Indexes ¶
func (NodeExporterHostMemoryActive) Indexes() []db.Index
Indexes for the feature.
func (NodeExporterHostMemoryActive) TableName ¶
func (NodeExporterHostMemoryActive) TableName() string
Table under which the feature is stored.
type NodeExporterHostMemoryActiveExtractor ¶
type NodeExporterHostMemoryActiveExtractor struct {
// Common base for all extractors that provides standard functionality.
plugins.BaseExtractor[
struct{},
NodeExporterHostMemoryActive,
]
}
Extractor that extracts how much memory of kvm hosts is active and stores it as a feature into the database.
func (*NodeExporterHostMemoryActiveExtractor) Extract ¶
func (e *NodeExporterHostMemoryActiveExtractor) Extract() ([]plugins.Feature, error)
Extract how much memory of kvm hosts is active.
func (*NodeExporterHostMemoryActiveExtractor) GetName ¶
func (*NodeExporterHostMemoryActiveExtractor) GetName() string
Name of this feature extractor that is used in the yaml config, for logging etc.
func (NodeExporterHostMemoryActiveExtractor) Triggers ¶
func (NodeExporterHostMemoryActiveExtractor) Triggers() []string
Get message topics that trigger a re-execution of this extractor.