Use the offset calculation that includes round trip time in the ntp collector
Previously the raw time difference was used which includes the network trip time between the node and the ntp server. This makes setting alerts off the value troublesome as it depends on the latency as well as the clock offset.
This commit is contained in:
parent
b93c7c394b
commit
387c64424b
5 changed files with 140 additions and 40 deletions
5
vendor/vendor.json
vendored
5
vendor/vendor.json
vendored
|
|
@ -8,9 +8,10 @@
|
|||
"revisionTime": "2016-01-18T19:00:32-05:00"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "JhaYHdVIj52Fpdcb7DuDjr/gk0Q=",
|
||||
"path": "github.com/beevik/ntp",
|
||||
"revision": "283ed9d548825a1dae0994311560e8dbf8efac68",
|
||||
"revisionTime": "2015-11-09T15:30:19-08:00"
|
||||
"revision": "f0545e6f2c3cb0d0a2ed115b88c539d8e5247ef3",
|
||||
"revisionTime": "2016-05-31T23:09:58Z"
|
||||
},
|
||||
{
|
||||
"path": "github.com/beorn7/perks/quantile",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue