Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlavorRunningVMs ¶
type FlavorRunningVMsKPI ¶
type FlavorRunningVMsKPI 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 (*FlavorRunningVMsKPI) Collect ¶
func (k *FlavorRunningVMsKPI) Collect(ch chan<- prometheus.Metric)
func (*FlavorRunningVMsKPI) Describe ¶
func (k *FlavorRunningVMsKPI) Describe(ch chan<- *prometheus.Desc)
func (FlavorRunningVMsKPI) GetName ¶
func (FlavorRunningVMsKPI) 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"`
Decommissioned bool `db:"decommissioned"`
ExternalCustomer bool `db:"external_customer"`
PinnedProjects string `db:"pinned_projects"`
RunningVMs float64 `db:"running_vms"`
compute.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 KVMResourceCapacityKPI ¶
type KVMResourceCapacityKPI 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 (*KVMResourceCapacityKPI) Collect ¶
func (k *KVMResourceCapacityKPI) Collect(ch chan<- prometheus.Metric)
func (*KVMResourceCapacityKPI) Describe ¶
func (k *KVMResourceCapacityKPI) Describe(ch chan<- *prometheus.Desc)
func (KVMResourceCapacityKPI) GetName ¶
func (KVMResourceCapacityKPI) GetName() string
type VMCommitmentsKPI ¶
type VMCommitmentsKPI 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 (*VMCommitmentsKPI) Collect ¶
func (k *VMCommitmentsKPI) Collect(ch chan<- prometheus.Metric)
func (*VMCommitmentsKPI) Describe ¶
func (k *VMCommitmentsKPI) Describe(ch chan<- *prometheus.Desc)
func (VMCommitmentsKPI) GetName ¶
func (VMCommitmentsKPI) GetName() string
type VMFaultsKPI ¶
This kpi tracks vm faults in the datacenter. It exposes helpful information about the faults, such as the availability zone, hypervisor type, vm state, and error info if available. This can be used to identify issues in the datacenter and to monitor the overall health of the vms.
func (*VMFaultsKPI) Collect ¶
func (k *VMFaultsKPI) Collect(ch chan<- prometheus.Metric)
Collect collects the current state of vms from the database and sends it as Prometheus metrics to the provided channel.
func (*VMFaultsKPI) Describe ¶
func (k *VMFaultsKPI) Describe(ch chan<- *prometheus.Desc)
Describe sends the descriptor of this kpi to the provided channel. This is used by Prometheus to know which metrics this kpi exposes.
func (VMFaultsKPI) GetName ¶
func (VMFaultsKPI) GetName() string
GetName returns a unique name for this kpi that is used for registration and configuration.
type VMLifeSpanKPI ¶
type VMLifeSpanKPI struct {
// Common base for all KPIs that provides standard functionality.
plugins.BaseKPI[struct{}] // No options passed through yaml config
// contains filtered or unexported fields
}
Advanced statistics about vm life spans.
func (*VMLifeSpanKPI) Collect ¶
func (k *VMLifeSpanKPI) Collect(ch chan<- prometheus.Metric)
func (*VMLifeSpanKPI) Describe ¶
func (k *VMLifeSpanKPI) Describe(ch chan<- *prometheus.Desc)
func (VMLifeSpanKPI) GetName ¶
func (VMLifeSpanKPI) GetName() string
type VMMigrationStatisticsKPI ¶
type VMMigrationStatisticsKPI struct {
// Common base for all KPIs that provides standard functionality.
plugins.BaseKPI[struct{}] // No options passed through yaml config
// contains filtered or unexported fields
}
Advanced statistics about openstack migrations.
func (*VMMigrationStatisticsKPI) Collect ¶
func (k *VMMigrationStatisticsKPI) Collect(ch chan<- prometheus.Metric)
func (*VMMigrationStatisticsKPI) Describe ¶
func (k *VMMigrationStatisticsKPI) Describe(ch chan<- *prometheus.Desc)
func (VMMigrationStatisticsKPI) GetName ¶
func (VMMigrationStatisticsKPI) GetName() string
type VMwareHostContentionKPI ¶
type VMwareHostContentionKPI 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 (*VMwareHostContentionKPI) Collect ¶
func (k *VMwareHostContentionKPI) Collect(ch chan<- prometheus.Metric)
func (*VMwareHostContentionKPI) Describe ¶
func (k *VMwareHostContentionKPI) Describe(ch chan<- *prometheus.Desc)
func (VMwareHostContentionKPI) GetName ¶
func (VMwareHostContentionKPI) GetName() string
type VMwareProjectNoisinessKPI ¶
type VMwareProjectNoisinessKPI 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 (*VMwareProjectNoisinessKPI) Collect ¶
func (k *VMwareProjectNoisinessKPI) Collect(ch chan<- prometheus.Metric)
func (*VMwareProjectNoisinessKPI) Describe ¶
func (k *VMwareProjectNoisinessKPI) Describe(ch chan<- *prometheus.Desc)
func (VMwareProjectNoisinessKPI) GetName ¶
func (VMwareProjectNoisinessKPI) GetName() string
type VMwareResourceCapacityKPI ¶
type VMwareResourceCapacityKPI 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 (*VMwareResourceCapacityKPI) Collect ¶
func (k *VMwareResourceCapacityKPI) Collect(ch chan<- prometheus.Metric)
func (*VMwareResourceCapacityKPI) Describe ¶
func (k *VMwareResourceCapacityKPI) Describe(ch chan<- *prometheus.Desc)
func (VMwareResourceCapacityKPI) GetName ¶
func (VMwareResourceCapacityKPI) GetName() string