Adjust code for <100 char line limit
This commit is contained in:
parent
6453d03edd
commit
1071c7d963
|
@ -139,7 +139,7 @@ def register_process_collector():
|
|||
"cpu_system_seconds_total", lambda: float(stats["stime"]) / TICKS_PER_SEC
|
||||
)
|
||||
process_metrics.register_callback(
|
||||
"cpu_seconds_total", lambda: (float(stats["utime"]) + float(stats["stime"])) / TICKS_PER_SEC
|
||||
"cpu_seconds_total", lambda: (float(stats["utime"] + stats["stime"])) / TICKS_PER_SEC
|
||||
)
|
||||
|
||||
process_metrics.register_callback(
|
||||
|
|
Loading…
Reference in New Issue