mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 15:09:30 -05:00
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
Block a user