Adjust code for <100 char line limit

pull/1177/head
Paul "LeoNerd" Evans 2016-10-19 18:23:25 +01:00
parent 6453d03edd
commit 1071c7d963
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ def register_process_collector():
"cpu_system_seconds_total", lambda: float(stats["stime"]) / TICKS_PER_SEC "cpu_system_seconds_total", lambda: float(stats["stime"]) / TICKS_PER_SEC
) )
process_metrics.register_callback( 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( process_metrics.register_callback(