-
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
feat: Histogram aggregator metric expiration #10520
feat: Histogram aggregator metric expiration #10520
Conversation
8581517
to
fc255f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! Thank you for the associated issue explaining your problem, gathering metrics from mobile devices sounds like an interesting setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @opengamer29, thanks for the nice PR. I have some smaller comments, can you please take a look?
49c4484
to
854a560
Compare
Sorry for bothering you here, but would you please also take attention to that issue and PR. I've tested the build with this feature request and that fix for our use case (collection mobile performance metrics). It significantly increased telegraf performance without any harm to the data quality on our graphs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more comments @opengamer29... Sorry for not having them in the first place....
854a560
to
c549fc0
Compare
Thanks for the detailed review. It's my first GoLang MR, so it's very helpful. |
c549fc0
to
99b9fa5
Compare
📦 Looks like new artifacts were built from this PR. Expand this list to get them here ! 🐯Artifact URLs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice update @opengamer29! Additionally to the open comment above, I wanted to make you aware of a behavior change with your code. If that is fine, please mark the comment as resolved...
99b9fa5
to
a07c69c
Compare
Download PR build artifacts for linux_amd64.tar.gz, darwin_amd64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
There was a problem hiding this 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. Awesome work @opengamer29!
We missed updating the README, but I added it in #10583 |
Required for all PRs:
resolves #10517
Add an
expiration_interval
to aggregator histogram config. Setting this property allows deleting from cache outdated histogram older thanexpiration_interval
.