Remove tags for num cores and packages

This commit is contained in:
Holger Obermaier 2022-02-18 16:59:59 +01:00
parent 635a75c64b
commit 65c3106af2
2 changed files with 6 additions and 10 deletions

View File

@ -152,9 +152,7 @@ func (m *CPUFreqCpuInfoCollector) Init(config json.RawMessage) error {
t.tagSet = map[string]string{
"type": "cpu",
"type-id": t.processor,
"num_core": t.numNonHT,
"package_id": t.physicalPackageID,
"num_package": t.numPhysicalPackages,
}
}

View File

@ -163,9 +163,7 @@ func (m *CPUFreqCollector) Init(config json.RawMessage) error {
t.tagSet = map[string]string{
"type": "cpu",
"type-id": t.processor,
"num_core": t.numNonHT,
"package_id": t.physicalPackageID,
"num_package": t.numPhysicalPackages,
}
}