[Bugfix] fix_log_time_in_metrics (#4050)
This commit is contained in:
parent
98afde19fc
commit
ec8e3c695f
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user