Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ManagedVirtualMachine ManagedVirtualMachineCount = prometheus.NewGauge(prometheus.GaugeOpts{ Name: "kubemox_managed_virtual_machine_count", Help: "Number of managedVirtualMachines exists in Proxmox", }) ManagedVirtualMachineCPUCores = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "kubemox_managed_virtual_machine_cpu_cores", Help: "Number of CPU cores of managedVirtualMachine", }, []string{"name", "namespace"}) ManagedVirtualMachineMemory = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "kubemox_managed_virtual_machine_memory", Help: "Memory of managedVirtualMachine as MB", }, []string{"name", "namespace"}) ManagedVirtualMachineRunningCount = prometheus.NewGauge(prometheus.GaugeOpts{ Name: "kubemox_managed_virtual_machine_running_count", Help: "Number of running managedVirtualMachines", }) ManagedVirtualMachineStoppedCount = prometheus.NewGauge(prometheus.GaugeOpts{ Name: "kubemox_managed_virtual_machine_stopped_count", Help: "Number of stopped managedVirtualMachines", }) )
View Source
var KubemoxMetrics = []prometheus.Collector{ virtualMachineCount, virtualMachineCPUCores, virtualMachineMemory, virtualMachineRunningCount, virtualMachineStoppedCount, ManagedVirtualMachineCount, ManagedVirtualMachineCPUCores, ManagedVirtualMachineMemory, ManagedVirtualMachineRunningCount, ManagedVirtualMachineStoppedCount, containerCount, containerCPUCores, containerMemory, virtualMachineTemplateCount, virtualMachineTemplateCPUCores, virtualMachineTemplateMemory, virtualMachineSetCount, virtualMachineSetCPUCores, virtualMachineSetMemory, virtualMachineSetReplicas, virtualMachineSnapshotCount, virtualMachineSnapshotPerVirtualMachineCount, virtualMachineSnapshotPolicyCount, storageDownloadURLCount, customCertificateCount, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.