From c241513d561f8b7fe8116da56fab58cce173b3a5 Mon Sep 17 00:00:00 2001 From: Calle Pettersson Date: Tue, 17 Apr 2018 18:25:22 +0200 Subject: [PATCH] Fix interface->vm labelling of VID class --- collector/hyperv.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/collector/hyperv.go b/collector/hyperv.go index 392b7c90..38aca410 100644 --- a/collector/hyperv.go +++ b/collector/hyperv.go @@ -110,19 +110,19 @@ func NewHyperVCollector() (Collector, error) { PhysicalPagesAllocated: prometheus.NewDesc( prometheus.BuildFQName(Namespace, buildSubsystemName("vid"), "physical_pages_allocated"), "The number of physical pages allocated", - []string{"interface"}, + []string{"vm"}, nil, ), PreferredNUMANodeIndex: prometheus.NewDesc( prometheus.BuildFQName(Namespace, buildSubsystemName("vid"), "preferred_numa_node_index"), "The preferred NUMA node index associated with this partition", - []string{"interface"}, + []string{"vm"}, nil, ), RemotePhysicalPages: prometheus.NewDesc( prometheus.BuildFQName(Namespace, buildSubsystemName("vid"), "remote_physical_pages"), "The number of physical pages not allocated from the preferred NUMA node", - []string{"interface"}, + []string{"vm"}, nil, ),