-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[data.search.aggs]: Expression functions for metric agg types #64914
Conversation
@elasticmachine merge upstream |
merge conflict between base and head |
Pinging @elastic/kibana-app-arch (Team:AppArch) |
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.
Not a full review. @VladLasitsa please check all again
src/plugins/data/public/search/aggs/metrics/std_deviation_fn.ts
Outdated
Show resolved
Hide resolved
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, I am going to go ahead and merge so we can get a backport into 7.x
today.
@VladLasitsa I added one nit on the help text, which can be addressed as a follow-up later.
types: ['number'], | ||
multi: true, | ||
help: i18n.translate('data.search.aggs.metrics.percentiles.percents.help', { | ||
defaultMessage: 'Range of percentiles ranks', |
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.
defaultMessage: 'Range of percentiles ranks', | |
defaultMessage: 'Range of percentiles', |
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
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Closes #63760
Summary
In this PR new
expression functions
were created for the followingmetric
agg types:count
avg
sum
median
min
max
std_deviation
cardinality
precentiles
percentile_ranks
top_hit
derivative
cumulative_sum
moving_avg
serial_diff
bucket_avg
bucket_sum
bucket_min
bucket_max
geo_bounds
geo_centroid
Checklist
Delete any items that are not applicable to this PR.
For maintainers