Daniel Jaglowski 40b485f08a Update core for v0.90.0 release (#29539) | 1 éve | |
---|---|---|
.. | ||
internal | 1 éve | |
testdata | 2 éve | |
Makefile | 2 éve | |
README.md | 1 éve | |
config.go | 1 éve | |
config_test.go | 1 éve | |
doc.go | 1 éve | |
documentation.md | 1 éve | |
factory.go | 1 éve | |
factory_test.go | 1 éve | |
go.mod | 1 éve | |
go.sum | 1 éve | |
metadata.yaml | 1 éve | |
scraper.go | 1 éve | |
scraper_test.go | 1 éve |
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.