Unverified Commit ec8e3c69 authored by zspo's avatar zspo Committed by GitHub
Browse files

[Bugfix] fix_log_time_in_metrics (#4050)

parent 98afde19
......@@ -130,7 +130,7 @@ class StatLogger:
def __init__(self, local_interval: float, labels: Dict[str, str]) -> None:
# Metadata for logging locally.
self.last_local_log = time.monotonic()
self.last_local_log = time.time()
self.local_interval = local_interval
# Tracked stats over current local logging interval.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment