-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrony input improvements #2798
Comments
It would also be nice to be able to track clients if that option is turned on within chrony. |
If we move tags to fields and provide metrics on all sources we should add a setting and let users opt in to the new behavior. |
If we don't want to add a setting to opt in, we could make these changes during the next major release. #9478 |
@phemmer the Would that solve this issue? |
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Forums or provide additional details in this issue and reqeust that it be re-opened. Thank you! |
@srebhan unfortunately the suggestions above don't really solve this:
Not addressed - while this is IMHO the most important improvement proposed here: enabling accuracy comparisons, detection of diverged/drifting sources; uptime, latency and source state change tracking etc. This requires extending the plugin to utilize new command outputs -
I suppose the converter processor could solve this but it's still incorrect default behavior that users shouldn't have to manually workaround. I agree with the comments above that this should be a non-default config option for 1.x and become the default in 2.x, in which case it probably needs to stay on the radar as an open issue.
PTR lookups won't help when the server's IP address doesn't have a PTR record, nor when that record points to a different FQDN (e. g. servers running on dynamic/residential connections or hosting with no control over PTR; or when PTR needs to point to a different record - e. g. email FCrDNS). Based on a quick test I saw that even some stratum 1s from various national metrology institutes with dedicated NTP IPs lack PTRs - and most users are supposed to sync against stratum 2 or lower pool servers where PTR will be a lot more hit and miss. This could actually be improved easily - |
@phemmer, @Gelob or @dsvk I'm trying to tackle this issue (after soo long... sorry!) and reworked the plugin to get rid of the Can anyone please verify that the binary in PR #14629 (available as-soon-as CI finished the tests) works as before and produces sensible metrics!?!? Please let me know your findings! |
Feature Request
Proposal:
The chrony input should
stratum
should not be a tag. A sync source's stratum can change. This should not result in a new series being created. It also prevents being able to query based on stratum (e.g.select ... where stratum > 5
)leap_status
should not be a tag. The leap status can change, and should not result in a new series being created. Already covered in chrony leap_status should be a field? #2072 though.The text was updated successfully, but these errors were encountered: