You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export version=0.0.2
curl -L https://github.com/dmitry-ee/time_exporter/releases/download/$version/time_exporter-$version.linux-amd64.tar.gz | tar -zxf -
./time_exporter-$version.linux-amd64/time_exporter
Collectors
All collectors are enabled by default
That could be disabled with both flags --collector.disable-defaults and if you want to get rid of the default (go_|process_|promhttp_) set --web.disable-exporter-metrics
chrony
Enables and disables with flag --collector.chrony and --no-collector.chrony
collector.chrony.address
The most important flag here: it could be socket path (/var/run/chrony/chronyd.sock by default) or host:port (chronyd is listening 127.0.0.1:323 by default).
That could be useful to get the statistics even from outside the host itself
--collector.chrony.log-response-json
Log chronyd response in debug logging, could be helpful to get the real response for debugging purposes
ntp
Enables and disables with flag --collector.ntp and --no-collector.ntp
time
Enables and disables with flag --collector.time and --no-collector.time
timex
Enables and disables with flag --collector.timex and --no-collector.timex