-
Notifications
You must be signed in to change notification settings - Fork 102
Add TDigestExecutionHint to metric aggregations #4600
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
Conversation
/** | ||
* The default implementation of TDigest is optimized for performance, scaling to millions or even billions of sample values while maintaining acceptable accuracy levels (close to 1% relative error for millions of samples in some cases). | ||
* To use an implementation optimized for accuracy, set this parameter to high_accuracy instead. | ||
* @server_default default | ||
*/ | ||
execution_hint?: TDigestExecutionHint |
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.
/** | ||
* The default implementation of TDigest is optimized for performance, scaling to millions or even billions of sample values while maintaining acceptable accuracy levels (close to 1% relative error for millions of samples in some cases). | ||
* To use an implementation optimized for accuracy, set this parameter to high_accuracy instead. | ||
* @server_default default | ||
*/ | ||
execution_hint?: TDigestExecutionHint |
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.
export enum TDigestExecutionHint { | ||
default, | ||
high_accuracy | ||
} |
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.
/** | ||
* The default implementation of TDigest is optimized for performance, scaling to millions or even billions of sample values while maintaining acceptable accuracy levels (close to 1% relative error for millions of samples in some cases). | ||
* To use an implementation optimized for accuracy, set this parameter to high_accuracy instead. | ||
* @server_default default | ||
*/ | ||
execution_hint?: TDigestExecutionHint |
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.
(cherry picked from commit 7efcc50)
This fixes 8 validation errors when validating the Search API.