repo_sync
master
superq/goimports
superq/fs_include
superq/v2
superq/systemd_shutdown
mixin-fix-cpu-usage
release-1.8
superq/stylecheck
superq/refactor_kingpin
release-1.6
release-1.4
release-1.3
superq/os_collector
superq/replace_load_metric
release-1.2
fixpanic
release-1.1
aix-ppc64
security-dot-md
fish/remove-docker-hub-references
readme-remove-misleading-plugins
release-1.0
discordianfish-patch-1
revert-1677-expose-tls-copy
pgier/disable-default-collectors
superq/buildkite
release-0.18
superq/systemd_filter
superq/unit_type
release-0.17
bjk/fpm
release-0.16
release-0.15
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.1
v1.4.0
v1.4.0-rc.0
v1.3.1
v1.3.0
v1.2.2
v1.2.1
v1.2.0
v1.1.2
v1.1.1
v1.1.0
v1.0.1
v1.0.0
v1.0.0-rc.1
v1.0.0-rc.0
v0.18.1
v0.18.0
v0.17.0
v0.17.0-rc.0
v0.16.0
v0.16.0-rc.3
v0.16.0-rc.2
v0.16.0-rc.1
v0.16.0-rc.0
v0.15.2
v0.15.1
v0.15.0
0.12.0
0.12.0rc1
0.8.0
0.7.1
0.7.0
0.6.0
0.10.0
0.11.0
0.12.0rc2
0.12.0rc3
0.13.0-rc.2
0.8.1
0.9.0
v0.13.0
v0.13.0-rc.1
v0.13.0-rc.2
v0.14.0
v0.14.0-rc.1
v0.14.0-rc.2
${ noResults }
1 Commits (8f9c8a060de932e12c16bc2a66edbc8771147ecf)
Author | SHA1 | Message | Date |
---|---|---|---|
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 |
7 years ago |