mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
Remove tags for num cores and packages
This commit is contained in:
parent
635a75c64b
commit
65c3106af2
@ -150,11 +150,9 @@ func (m *CPUFreqCpuInfoCollector) Init(config json.RawMessage) error {
|
|||||||
t.numNonHT = numNonHT
|
t.numNonHT = numNonHT
|
||||||
t.numNonHT_int = numNonHT_int
|
t.numNonHT_int = numNonHT_int
|
||||||
t.tagSet = map[string]string{
|
t.tagSet = map[string]string{
|
||||||
"type": "cpu",
|
"type": "cpu",
|
||||||
"type-id": t.processor,
|
"type-id": t.processor,
|
||||||
"num_core": t.numNonHT,
|
"package_id": t.physicalPackageID,
|
||||||
"package_id": t.physicalPackageID,
|
|
||||||
"num_package": t.numPhysicalPackages,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -161,11 +161,9 @@ func (m *CPUFreqCollector) Init(config json.RawMessage) error {
|
|||||||
t.numNonHT = numNonHT
|
t.numNonHT = numNonHT
|
||||||
t.numNonHT_int = numNonHT_int
|
t.numNonHT_int = numNonHT_int
|
||||||
t.tagSet = map[string]string{
|
t.tagSet = map[string]string{
|
||||||
"type": "cpu",
|
"type": "cpu",
|
||||||
"type-id": t.processor,
|
"type-id": t.processor,
|
||||||
"num_core": t.numNonHT,
|
"package_id": t.physicalPackageID,
|
||||||
"package_id": t.physicalPackageID,
|
|
||||||
"num_package": t.numPhysicalPackages,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user