compute

package
v0.0.0-...-eed02e1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlavorRunningVMs

type FlavorRunningVMs struct {
	FlavorName       string  `db:"flavor_name"`
	AvailabilityZone string  `db:"availability_zone"`
	RunningVMs       float64 `db:"running_vms"`
	ProjectID        string  `db:"project_id"`
}

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

func (*FlavorRunningVMsKPI) Init

func (k *FlavorRunningVMsKPI) Init(db *db.DB, client client.Client, 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"`
	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

func (*HostRunningVMsKPI) Init

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

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

func (*KVMResourceCapacityKPI) Init

func (k *KVMResourceCapacityKPI) Init(db *db.DB, client client.Client, opts conf.RawOpts) error

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

func (*VMCommitmentsKPI) Init

func (k *VMCommitmentsKPI) Init(db *db.DB, client client.Client, opts conf.RawOpts) error

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

func (*VMLifeSpanKPI) Init

func (k *VMLifeSpanKPI) Init(db *db.DB, client client.Client, opts conf.RawOpts) error

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

func (*VMMigrationStatisticsKPI) Init

func (k *VMMigrationStatisticsKPI) Init(db *db.DB, client client.Client, opts conf.RawOpts) error

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

func (*VMwareHostContentionKPI) Init

func (k *VMwareHostContentionKPI) Init(db *db.DB, client client.Client, opts conf.RawOpts) error

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) Init

func (k *VMwareProjectNoisinessKPI) Init(db *db.DB, client client.Client, opts conf.RawOpts) error

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) Init

func (k *VMwareResourceCapacityKPI) Init(db *db.DB, client client.Client, opts conf.RawOpts) error

Jump to

Keyboard shortcuts

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