pve_kvm -> pve_kvm_info

This commit is contained in:
illustris
2026-03-13 08:13:09 +05:30
parent 8d9007632a
commit 9c2b1bf384
2 changed files with 3 additions and 3 deletions

View File

@@ -285,7 +285,7 @@ func (c *PVECollector) collectVMMetrics(ch chan<- prometheus.Metric, proc procfs
poolName := vmPoolMap[id]
poolInfo := pools[poolName]
ch <- prometheus.MustNewConstMetric(
prometheus.NewDesc(c.prefix+"_kvm", "VM info", []string{
prometheus.NewDesc(c.prefix+"_kvm_info", "VM info", []string{
"id", "name", "cpu", "pid", "pool", "pool_levels", "pool1", "pool2", "pool3",
}, nil),
prometheus.GaugeValue, 1,