Netflix-Skunkworks / atlas-system-agent

Agent that reports system metrics through SpectatorD.
Apache License 2.0
5 stars 8 forks source link

do not set sys.time.estimatedError when time is unsynchronized #131

Closed copperlight closed 3 months ago

copperlight commented 3 months ago

We are trying to gather some data on the accuracy of clock time across the fleet, and the sys.time.estimatedError was reporting a number of 16s values.

These values occur when the kernel has not synchonized the clock yet. This fact is tracked with the sys.time.unsynchronized metric. The estimatedError metric should only have valid results from ntp_adjtime.