Add quantile aggregator plugin#8594
Merged
reimda merged 12 commits intoinfluxdata:masterfrom Feb 17, 2021
Merged
Conversation
added 3 commits
December 18, 2020 13:04
… of the caio/tdigest library. This will conflict otherwise.
ivorybilled
reviewed
Dec 18, 2020
ivorybilled
approved these changes
Jan 6, 2021
3 tasks
Co-authored-by: reimda <reimda@users.noreply.github.com>
Co-authored-by: reimda <reimda@users.noreply.github.com>
Co-authored-by: reimda <reimda@users.noreply.github.com>
reimda
suggested changes
Feb 10, 2021
Contributor
reimda
left a comment
There was a problem hiding this comment.
Sorry to nitpick on naming and documentation :)
Thanks for removing the term "approximator" from the settings and documentation. Let's also replace "approximator" with "algorithm" everywhere in the code and also in the filename "approximator.go". It will be unnecessarily confusing to future devs to have to try to understand what an exact approximator is.
Other than that I think it's ready to merge
Co-authored-by: reimda <reimda@users.noreply.github.com>
Member
Author
|
@reimda don't worry, your feedback is very much appreciated! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Required for all PRs:
This PR implements a quantile aggregator allowing to aggregate multiple series and output the specified quantiles per field and metric. It provides three types of approximations, T-Digest as well as exact approximations using Hyndman & Fan's R7 (equivalent to Excel and Numpy) and R8 (recommended in the paper) approach.
The plugin adds no further dependencies, but it was necessary to update
github.com/wavefronthq/wavefront-sdk-gofrom 0.9.2 to 0.9.7 to get an up-to-dategithub.com/caio/go-tdigestlibrary used here.The approach is similar to PR #6887 but has much less code. Closes #6440.