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

feat: add median timing calculation to statsd input plugin #11518

Merged
merged 17 commits into from
Jul 22, 2022

Conversation

amarinderca
Copy link
Contributor

@amarinderca amarinderca commented Jul 18, 2022

resolves #11517

changes statsd input plugin files by adding tests, readme, median calculation function

@telegraf-tiger
Copy link
Contributor

Thanks so much for the pull request!
🤝 ✒️ Just a reminder that the CLA has not yet been signed, and we'll need it before merging. Please sign the CLA when you get a chance, then post a comment here saying !signed-cla

@telegraf-tiger telegraf-tiger bot added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Jul 18, 2022
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 this PR @amarinderca! I have some small comments in the code, can you please have a look!?

plugins/inputs/statsd/running_stats.go Outdated Show resolved Hide resolved
plugins/inputs/statsd/running_stats.go Outdated Show resolved Hide resolved
plugins/inputs/statsd/running_stats.go Outdated Show resolved Hide resolved
@srebhan srebhan self-assigned this Jul 19, 2022
@srebhan srebhan added area/statsd plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Jul 19, 2022
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 the update @amarinderca! I have some more comments...

plugins/inputs/statsd/running_stats.go Outdated Show resolved Hide resolved
plugins/inputs/statsd/running_stats.go Outdated Show resolved Hide resolved
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.

One more comment to make the code a bit more robust. Not a must though as it works this way, but it's not obvious. What do you think?

plugins/inputs/statsd/running_stats.go Outdated Show resolved Hide resolved
@telegraf-tiger
Copy link
Contributor

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.

Looks good to me. Thanks for your contribution @amarinderca!

@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 Jul 22, 2022
Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

@powersj powersj merged commit d84bf9a into influxdata:master Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/statsd feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin 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.

add median timing calculation to statsd input plugin
3 participants