sap

package
v0.0.0-...-bc95524 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostAvailableCapacityKPI

type HostAvailableCapacityKPI struct {
	// Common base for all KPIs that provides standard functionality.
	plugins.BaseKPI[struct{}] // No options passed through yaml config
	// contains filtered or unexported fields
}

func (*HostAvailableCapacityKPI) Collect

func (k *HostAvailableCapacityKPI) Collect(ch chan<- prometheus.Metric)

func (*HostAvailableCapacityKPI) Describe

func (k *HostAvailableCapacityKPI) Describe(ch chan<- *prometheus.Desc)

func (HostAvailableCapacityKPI) GetName

func (HostAvailableCapacityKPI) GetName() string

func (*HostAvailableCapacityKPI) Init

func (k *HostAvailableCapacityKPI) Init(db db.DB, opts conf.RawOpts) error

type HostRunningVMs

type HostRunningVMs struct {
	ComputeHostName  string  `db:"compute_host"`
	AvailabilityZone string  `db:"availability_zone"`
	CPUArchitecture  string  `db:"cpu_architecture"`
	HypervisorFamily string  `db:"hypervisor_family"`
	WorkloadType     string  `db:"workload_type"`
	Enabled          bool    `db:"enabled"`
	PinnedProjects   string  `db:"pinned_projects"`
	RunningVMs       float64 `db:"running_vms"`
	shared.HostUtilization
}

type HostRunningVMsKPI

type HostRunningVMsKPI struct {
	// Common base for all KPIs that provides standard functionality.
	plugins.BaseKPI[struct{}] // No options passed through yaml config
	// contains filtered or unexported fields
}

func (*HostRunningVMsKPI) Collect

func (k *HostRunningVMsKPI) Collect(ch chan<- prometheus.Metric)

func (*HostRunningVMsKPI) Describe

func (k *HostRunningVMsKPI) Describe(ch chan<- *prometheus.Desc)

func (HostRunningVMsKPI) GetName

func (HostRunningVMsKPI) GetName() string

func (*HostRunningVMsKPI) Init

func (k *HostRunningVMsKPI) Init(db db.DB, opts conf.RawOpts) error

type HostTotalAllocatableCapacityKPI

type HostTotalAllocatableCapacityKPI struct {
	// Common base for all KPIs that provides standard functionality.
	plugins.BaseKPI[struct{}] // No options passed through yaml config
	// contains filtered or unexported fields
}

func (*HostTotalAllocatableCapacityKPI) Collect

func (k *HostTotalAllocatableCapacityKPI) Collect(ch chan<- prometheus.Metric)

func (*HostTotalAllocatableCapacityKPI) Describe

func (k *HostTotalAllocatableCapacityKPI) Describe(ch chan<- *prometheus.Desc)

func (HostTotalAllocatableCapacityKPI) GetName

func (*HostTotalAllocatableCapacityKPI) Init

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL