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
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
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) GetName() string
Click to show internal directories.
Click to hide internal directories.