mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-08 05:56:37 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user