mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-10-21 13:25: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")
|
file := filepath.Join(dir, "numastat")
|
||||||
m.topology = append(m.topology,
|
m.topology = append(m.topology,
|
||||||
NUMAStatsCollectorTopolgy{
|
NUMAStatsCollectorTopolgy{
|
||||||
file: file,
|
file: file,
|
||||||
tagSet: map[string]string{"memoryDomain": node},
|
tagSet: map[string]string{
|
||||||
|
"type": "memoryDomain",
|
||||||
|
"type-id": node,
|
||||||
|
},
|
||||||
previousValues: make(map[string]int64),
|
previousValues: make(map[string]int64),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user