fix numastat collector sending node metrics instead of memoryDomain metrics

This commit is contained in:
brinkcoder
2025-10-20 10:03:34 +02:00
committed by Thomas Gruber
parent e08bd3d926
commit 97e09f13f4

View File

@@ -102,8 +102,11 @@ func (m *NUMAStatsCollector) Init(config json.RawMessage) error {
file := filepath.Join(dir, "numastat")
m.topology = append(m.topology,
NUMAStatsCollectorTopolgy{
file: file,
tagSet: map[string]string{"memoryDomain": node},
file: file,
tagSet: map[string]string{
"type": "memoryDomain",
"type-id": node,
},
previousValues: make(map[string]int64),
})
}