netapp

package
v0.0.0-...-0eb2bac Latest Latest
Warning

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

Go to latest
Published: Sep 9, 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 StoragePoolCPUUsage

type StoragePoolCPUUsage struct {
	// Name of the OpenStack storage pool.
	StoragePoolName string `db:"storage_pool_name"`
	// Avg CPU usage in pct.
	AvgCPUUsagePct float64 `db:"avg_cpu_usage_pct"`
	// Max CPU usage in pct.
	MaxCPUUsagePct float64 `db:"max_cpu_usage_pct"`
}

Feature that maps the cpu usage of a storage pool.

func (StoragePoolCPUUsage) Indexes

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

Indexes for the feature.

func (StoragePoolCPUUsage) TableName

func (StoragePoolCPUUsage) TableName() string

Table under which the feature is stored.

type StoragePoolCPUUsageExtractor

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

Extractor that extracts the CPU usage of a storage pool.

func (*StoragePoolCPUUsageExtractor) Extract

Extract the CPU usage of a storage pool.

func (*StoragePoolCPUUsageExtractor) GetName

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

func (StoragePoolCPUUsageExtractor) Triggers

func (StoragePoolCPUUsageExtractor) Triggers() []string

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