mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 23:19:06 +01:00
Update likwid_perfgroup_to_cc_config.py
This commit is contained in:
parent
84e019c693
commit
abd49a377c
@ -45,7 +45,7 @@ def group_to_json(groupfile):
|
|||||||
if "PWR" in calc:
|
if "PWR" in calc:
|
||||||
scope = "socket"
|
scope = "socket"
|
||||||
|
|
||||||
m = {"name" : metric, "calc": calc, "scope" : scope, "publish" : True}
|
m = {"name" : metric, "calc": calc, "type" : scope, "publish" : True}
|
||||||
metrics.append(m)
|
metrics.append(m)
|
||||||
return {"events" : events, "metrics" : metrics}
|
return {"events" : events, "metrics" : metrics}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user