Daniel Jaglowski 40b485f08a Update core for v0.90.0 release (#29539) | 1 year ago | |
---|---|---|
.. | ||
internal | 1 year ago | |
testdata | 2 years ago | |
Makefile | 2 years ago | |
README.md | 1 year ago | |
config.go | 1 year ago | |
config_test.go | 1 year ago | |
doc.go | 1 year ago | |
documentation.md | 1 year ago | |
factory.go | 1 year ago | |
factory_test.go | 1 year ago | |
go.mod | 1 year ago | |
go.sum | 1 year ago | |
metadata.yaml | 1 year ago | |
scraper.go | 1 year ago | |
scraper_test.go | 1 year ago |
Status | |
---|---|
Stability | alpha: metrics |
Distributions | contrib |
Issues | |
Code Owners | @MovieStoreGuy, @jamesmoessis |
The chrony receiver is a pure go implementation of the command chronyc tracking
to allow for
portability across systems and platforms. All of the data that would typically be captured by
the tracking command is made available in this receiver, see documentation for
more details.
By default, the chrony
receiver will default to the following configuration:
chrony/defaults:
address: unix:///var/run/chrony/chronyd.sock # The default port by chronyd to allow cmd access
timeout: 10s # Allowing at least 10s for chronyd to respond before giving up
chrony:
# This will result in the same configuration as above
The following options can be customised:
chronyd
unix
will be converted to unixgram
but both are permissiblechronyd
time to respondinitial_delay
(default = 1s
): defines how long this receiver waits before starting.An example of the configuration is:
receivers:
chrony:
address: unix:///var/run/chrony/chronyd.sock
timeout: 10s
collection_interval: 30s
metrics:
ntp.skew:
enabled: true
ntp.stratum:
enabled: true
The complete list of metrics emitted by this receiver is found in the documentation.