From 9f384e3db19b403e9a38355f070a7ccdf758f14d Mon Sep 17 00:00:00 2001 From: Andrew Banman Date: Thu, 12 May 2022 09:54:41 -0700 Subject: [PATCH] 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 --- collector/hyperv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/hyperv.go b/collector/hyperv.go index 3309c50f..390a81db 100644 --- a/collector/hyperv.go +++ b/collector/hyperv.go @@ -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,