mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-10-21 05:15:07 +02:00
fix numastat collector sending node metrics instead of memoryDomain metrics
This commit is contained in:
committed by
Thomas Gruber
parent
e08bd3d926
commit
97e09f13f4
@@ -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),
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user