mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-04 09:36:35 +00:00
Fix interface->vm labelling of VID class
This commit is contained in:
@@ -110,19 +110,19 @@ func NewHyperVCollector() (Collector, error) {
|
|||||||
PhysicalPagesAllocated: prometheus.NewDesc(
|
PhysicalPagesAllocated: prometheus.NewDesc(
|
||||||
prometheus.BuildFQName(Namespace, buildSubsystemName("vid"), "physical_pages_allocated"),
|
prometheus.BuildFQName(Namespace, buildSubsystemName("vid"), "physical_pages_allocated"),
|
||||||
"The number of physical pages allocated",
|
"The number of physical pages allocated",
|
||||||
[]string{"interface"},
|
[]string{"vm"},
|
||||||
nil,
|
nil,
|
||||||
),
|
),
|
||||||
PreferredNUMANodeIndex: prometheus.NewDesc(
|
PreferredNUMANodeIndex: prometheus.NewDesc(
|
||||||
prometheus.BuildFQName(Namespace, buildSubsystemName("vid"), "preferred_numa_node_index"),
|
prometheus.BuildFQName(Namespace, buildSubsystemName("vid"), "preferred_numa_node_index"),
|
||||||
"The preferred NUMA node index associated with this partition",
|
"The preferred NUMA node index associated with this partition",
|
||||||
[]string{"interface"},
|
[]string{"vm"},
|
||||||
nil,
|
nil,
|
||||||
),
|
),
|
||||||
RemotePhysicalPages: prometheus.NewDesc(
|
RemotePhysicalPages: prometheus.NewDesc(
|
||||||
prometheus.BuildFQName(Namespace, buildSubsystemName("vid"), "remote_physical_pages"),
|
prometheus.BuildFQName(Namespace, buildSubsystemName("vid"), "remote_physical_pages"),
|
||||||
"The number of physical pages not allocated from the preferred NUMA node",
|
"The number of physical pages not allocated from the preferred NUMA node",
|
||||||
[]string{"interface"},
|
[]string{"vm"},
|
||||||
nil,
|
nil,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user