plugins/inputs/timex/README.md
This plugin gathers metrics on system time using the Linux Kernel adjtimex syscall.
The call gets the information of the kernel time variables that are controlled by the ntpd, systemd-timesyncd, chrony or other time synchronization services.
⭐ Telegraf v1.37.0 🏷️ hardware, system 💻 linux
Plugins support additional global and plugin configuration settings for tasks such as modifying metrics, tags, and fields, creating aliases, and configuring plugin ordering. See CONFIGURATION.md for more details.
# Read time metrics from linux timex interface.
[[inputs.timex]]
## No input configuration
Metric fields usually have a suffix denoting the unit of the field with
ns being nanoseconds, sec being seconds and ppm being parts-per-million.
The parts-per-million unit is defined as
1 ppm corresponds to 10^-6 or 0.0001 %.
timex,host=testvm,status=ok maxerror_ns=1516000i,estimated_error_ns=4000i,tick_ns=10000000i,loop_time_constant=2i,pps_jitter_total=0i,synchronized=true,offset_ns=0i,frequency_offset_ppm=55.05543,pps_shift_sec=0i,pps_stability_ppm=0,tai_offset_sec=37i,status=0i,pps_frequency_ppm=0,pps_jitter_ns=0i,pps_calibration_total=0i,pps_error_total=0i,pps_stability_exceeded_total=0i 1761121800000000000