Skip to content
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

fix(inputs.chrony): Handle ServerStats4 response #15568

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

Frankkkkk
Copy link
Contributor

Chrony ≥ 4.4 introduces a new ServerStats response with u64 numbers and more fields.

Fixes #15553

NB: The plugin still doesn't work due to #15549. To test this commit, please make sure you use #15552.

Summary

Support chrony versions ≥ 4.4

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #15553

@telegraf-tiger telegraf-tiger bot added fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Jun 26, 2024
srebhan
srebhan previously approved these changes Jun 27, 2024
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for caring for the chrony plugin @Frankkkkk! Much appreciated.

@srebhan srebhan dismissed their stale review June 27, 2024 08:12

Didn't notice the failing tests.

Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for caring for the chrony plugin @Frankkkkk! Much appreciated. Could you please run make tidy and push the changes so CI is happy!?

@srebhan srebhan self-assigned this Jun 27, 2024
Chrony ≥ 4.4 introduces a new ServerStats response with u64 numbers and
more fields.

Fixes influxdata#15553

NB: The plugin still doesn't work due to influxdata#15549. To test this commit,
please make sure you use influxdata#15552.

Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
Signed-off-by: Frank Villaro-Dixon <frank.villarodixon@merkle.com>
@telegraf-tiger
Copy link
Contributor

@Frankkkkk
Copy link
Contributor Author

@srebhan Sorry for that! Fixed; thanks!

Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Frankkkkk for taking care of the chrony plugin and your prompt responses! Much appreciated!

@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Jun 27, 2024
@srebhan srebhan assigned powersj and DStrand1 and unassigned srebhan Jun 27, 2024
@powersj powersj merged commit e2a8625 into influxdata:master Jun 27, 2024
27 checks passed
@github-actions github-actions bot added this to the v1.31.1 milestone Jun 27, 2024
srebhan pushed a commit that referenced this pull request Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Chrony] - ServerStats: handle ServerStats4 Response
4 participants