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
@ -152,9 +152,7 @@ func (m *CPUFreqCpuInfoCollector) Init(config json.RawMessage) error {
|
|||||||
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,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -163,9 +163,7 @@ func (m *CPUFreqCollector) Init(config json.RawMessage) error {
|
|||||||
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