Closed bboreham closed 4 years ago
Previously the code called time.Now() in two different places so the timestamps didn't match. Now we use the timestamp of the report itself.
time.Now()
Add the collector's local time to the report if it didn't have one.
It turns out this change is problematic in the case that the probe's idea of the time is different to the app's: the newest reports may fall outside of the "display window" and hence nothing appears in view.
Previously the code called
time.Now()
in two different places so the timestamps didn't match. Now we use the timestamp of the report itself.Add the collector's local time to the report if it didn't have one.