Fix hyper-v collector memory metric names

Remove "memory", which is redundant with the module and breaks symmetry
with vm_memory_physical_guest_visible.

Signed-off-by: Andrew Banman <abanman@pnri.org>
This commit is contained in:
Andrew Banman
2022-05-12 09:54:41 -07:00
parent 68c338b479
commit 9f384e3db1

View File

@@ -657,7 +657,7 @@ func NewHyperVCollector() (Collector, error) {
nil,
),
VMMemoryPhysicalMemory: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, buildSubsystemName("vm_memory"), "physical_memory"),
prometheus.BuildFQName(Namespace, buildSubsystemName("vm_memory"), "physical"),
"This gauge represents the current amount of memory in MB assigned to the VM.",
[]string{"vm"},
nil,