Node_Exporter/vendor/github.com
Leonid Evdokimov c169b4b1c5 Add metrics from SNTPv4 packet to ntp collector & add ntpd sanity check (#655)
* Add metrics from SNTPv4 packet to ntp collector & add ntpd sanity check

1. Checking local clock against remote NTP daemon is bad idea, local
ntpd acting as a  client should do it better and avoid excessive load on
remote NTP server so the collector is refactored to query local NTP
server.

2. Checking local clock against remote one does not check local ntpd
itself. Local ntpd may be down or out of sync due to network issues, but
clock will be OK.

3. Checking NTP server using sanity of it's response is tricky and
depends on ntpd implementation, that's why common `node_ntp_sanity`
variable is exported.

* `govendor add golang.org/x/net/ipv4`, it is dependency of github.com/beevik/ntp

* Update github.com/beevik/ntp to include boring SNTP fix

* Use variable name from RFC5905

* ntp: move code to make export of raw metrics more explicit

* Move NTP math to `github.com/beevik/ntp`

* Make `golint` happy

* Add some brief docs explaining `ntp` #655 and `timex` #664 modules

* ntp: drop XXX comment that got its decision

* ntp: add `_seconds` suffix to relevant metrics

* Better `node_ntp_leap` comment

* s/node_ntp_reftime/node_ntp_reference_timestamp_seconds/ as requested by @discordianfish

* Extract subsystem name to const as suggested by @SuperQ
2017-09-19 10:36:14 +02:00
..
alecthomas Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
beevik/ntp Add metrics from SNTPv4 packet to ntp collector & add ntpd sanity check (#655) 2017-09-19 10:36:14 +02:00
beorn7/perks Update vendoring for github.com/beorn7/perks/quantile 2016-12-16 12:53:18 +01:00
coreos/go-systemd Update vendoring for github.com/coreos/go-systemd/dbus 2016-12-16 12:54:43 +01:00
ema/qdisc Add qdisc collector for Linux (#580) 2017-05-23 11:55:50 +02:00
godbus/dbus Update vendored packages 2017-02-28 18:20:24 -04:00
golang/protobuf Update vendoring for github.com/golang/protobuf/proto 2016-12-16 12:56:38 +01:00
kolo/xmlrpc Vendor all dependencies 2016-01-21 16:41:53 -05:00
lufia/iostat add diskstats on Darwin (#593) 2017-07-06 13:51:24 +02:00
matttproud/golang_protobuf_extensions Update vendoring for github.com/matttproud/golang_protobuf_extensions/pbutil 2016-12-16 12:58:24 +01:00
mdlayher Bump github.com/mdlayher/wifi to relax station info restrictions 2017-03-17 15:24:24 -04:00
prometheus Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
sirupsen/logrus Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
soundcloud/go-runit Vendor all dependencies 2016-01-21 16:41:53 -05:00