Documentation
¶
Index ¶
- type KVMHostCapacityKPI
- type KVMProjectUtilizationKPI
- type VMwareHostCapacityKPI
- type VMwareProjectCommitmentsKPI
- func (k *VMwareProjectCommitmentsKPI) Collect(ch chan<- prometheus.Metric)
- func (k *VMwareProjectCommitmentsKPI) Describe(ch chan<- *prometheus.Desc)
- func (k *VMwareProjectCommitmentsKPI) GetName() string
- func (k *VMwareProjectCommitmentsKPI) Init(dbConn *db.DB, c client.Client, opts conf.RawOpts) error
- type VMwareProjectUtilizationKPI
- func (k *VMwareProjectUtilizationKPI) Collect(ch chan<- prometheus.Metric)
- func (k *VMwareProjectUtilizationKPI) Describe(ch chan<- *prometheus.Desc)
- func (k *VMwareProjectUtilizationKPI) GetName() string
- func (k *VMwareProjectUtilizationKPI) Init(dbConn *db.DB, c client.Client, opts conf.RawOpts) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVMHostCapacityKPI ¶
type KVMHostCapacityKPI 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 (*KVMHostCapacityKPI) Collect ¶
func (k *KVMHostCapacityKPI) Collect(ch chan<- prometheus.Metric)
func (*KVMHostCapacityKPI) Describe ¶
func (k *KVMHostCapacityKPI) Describe(ch chan<- *prometheus.Desc)
func (KVMHostCapacityKPI) GetName ¶
func (KVMHostCapacityKPI) GetName() string
type KVMProjectUtilizationKPI ¶
type KVMProjectUtilizationKPI struct {
// BaseKPI provides common fields and methods for all KPIs, such as database connection and Kubernetes client.
plugins.BaseKPI[struct{}]
// contains filtered or unexported fields
}
func (*KVMProjectUtilizationKPI) Collect ¶
func (k *KVMProjectUtilizationKPI) Collect(ch chan<- prometheus.Metric)
func (*KVMProjectUtilizationKPI) Describe ¶
func (k *KVMProjectUtilizationKPI) Describe(ch chan<- *prometheus.Desc)
func (*KVMProjectUtilizationKPI) GetName ¶
func (k *KVMProjectUtilizationKPI) GetName() string
type VMwareHostCapacityKPI ¶
type VMwareHostCapacityKPI struct {
plugins.BaseKPI[struct{}]
// contains filtered or unexported fields
}
func (*VMwareHostCapacityKPI) Collect ¶
func (k *VMwareHostCapacityKPI) Collect(ch chan<- prometheus.Metric)
func (*VMwareHostCapacityKPI) Describe ¶
func (k *VMwareHostCapacityKPI) Describe(ch chan<- *prometheus.Desc)
func (*VMwareHostCapacityKPI) GetName ¶
func (k *VMwareHostCapacityKPI) GetName() string
type VMwareProjectCommitmentsKPI ¶
type VMwareProjectCommitmentsKPI struct {
// BaseKPI provides common fields and methods for all KPIs, such as database connection and Kubernetes client.
plugins.BaseKPI[struct{}]
// contains filtered or unexported fields
}
This KPI tracks committed resources in the VMware environment, based on commitments provided by Limes. For KVM we can map a commitment to a reservation on a specific host. In VMware this is not possible. For general purpose workload customer can specific amounts of resources. For HANA workloads customers commit a certain number of HANA instances (based on flavor). Like this it is possible to determine the workload type of a commitment. For general purpose workloads its not possible to differentiate the cpu architecture. To avoid weird behavior in a dashboard we don't export this label for the metric. For HANA flavors the cpu architecture is part of the flavor name (_v2 suffix for sapphire rapids, without suffix for cascade lake). For both types of workload however we can not determine on which host the commitment is fulfilled.
func (*VMwareProjectCommitmentsKPI) Collect ¶
func (k *VMwareProjectCommitmentsKPI) Collect(ch chan<- prometheus.Metric)
func (*VMwareProjectCommitmentsKPI) Describe ¶
func (k *VMwareProjectCommitmentsKPI) Describe(ch chan<- *prometheus.Desc)
func (*VMwareProjectCommitmentsKPI) GetName ¶
func (k *VMwareProjectCommitmentsKPI) GetName() string
type VMwareProjectUtilizationKPI ¶
type VMwareProjectUtilizationKPI struct {
// BaseKPI provides common fields and methods for all KPIs, such as database connection and Kubernetes client.
plugins.BaseKPI[struct{}]
// contains filtered or unexported fields
}
func (*VMwareProjectUtilizationKPI) Collect ¶
func (k *VMwareProjectUtilizationKPI) Collect(ch chan<- prometheus.Metric)
func (*VMwareProjectUtilizationKPI) Describe ¶
func (k *VMwareProjectUtilizationKPI) Describe(ch chan<- *prometheus.Desc)
func (*VMwareProjectUtilizationKPI) GetName ¶
func (k *VMwareProjectUtilizationKPI) GetName() string