dependabot/go_modules/golang.org/x/sys-0.27.0
dependabot/go_modules/github.com/safchain/ethtool-0.5.9
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 }
3 Commits (2678d68dcc9b97a840dc84929175a18b7c9bb3ee)
Author | SHA1 | Message | Date |
---|---|---|---|
Brian Brazil | a98067a294 |
Make metrics better follow guidelines (#787)
* Improve stat linux metric names.
cpu is no longer used.
* node_cpu -> node_cpu_seconds_total for Linux
* Improve filesystem metric names with units
* Improve units and names of linux disk stats
Remove sector metrics, the bytes metrics cover those already.
* Infiniband counters should end in _total
* Improve timex metric names, convert to more normal units.
See
|
7 years ago |
Calle Pettersson | 859a825bb8 |
Replace --collectors.enabled with per-collector flags (#640)
* Move NodeCollector into package collector * Refactor collector enabling * Update README with new collector enabled flags * Fix out-of-date inline flag reference syntax * Use new flags in end-to-end tests * Add flag to disable all default collectors * Track if a flag has been set explicitly * Add --collectors.disable-defaults to README * Revert disable-defaults flag * Shorten flags * Fixup timex collector registration * Fix end-to-end tests * Change procfs and sysfs path flags * Fix review comments |
7 years ago |
Sami Kerola | 3762191e66 |
Add timex collector (#664)
This collector is based on adjtimex(2) system call. The collector returns three values, status if time is synchronised, offset to remote reference, and local clock frequency adjustment. Values are taken from kernel time keeping data structures to avoid getting involved how the synchronisation is implemented. By that I mean one should not care if time is update using ntpd, systemd.timesyncd, ptpd, and so on. Since all time sync implementation will always end up telling to kernel what is the status with time one can simply omit the software in between, and look results of the syncing. As a positive side effect this makes collector very quick and conceptually specific, this does not monitor availability of NTP server, or network in between, or dns resolution, and other unrelated but necessary things. Minimum set of values to keep eye on are the following three: The node_timex_sync_status tells if local clock is in sync with a remote clock. Value is set to zero when synchronisation to a reliable server is lost, or a time sync software is misconfigured. The node_timex_offset_seconds tells how much local clock is off when compared to reference. In case of multiple time references this value is outcome of RFC 5905 adjustment algorithm. Ideally offset should be close to zero, and it depends about use case how large value is acceptable. For example a typical web server is probably fine if offset is about 0.1 or less, but that would not be good enough for mobile phone base station operator. The node_timex_freq tells amount of adjustment to local clock tick frequency. For example if offset is one second and growing the local clock will need instruction to tick quicker. Number value itself is not very important, and occasional small adjustments are fine. When frequency is unusually in stable one can assume quality of time stamps will not be accurate to very far in sub second range. Obviously explaining why local clock frequency behaves like a passenger in roller coaster is different matter. Explanations can vary from system load, to environmental issues such as a machine being physically too hot. Rest of the measurements can help when debugging. If you run a clock server do probably want to collect and keep track of everything. Pull-request: https://github.com/prometheus/node_exporter/pull/664 |
7 years ago |