[APM] Update aggregations to support script sources#76429
Merged
wylieconlon merged 4 commits intoelastic:masterfrom Sep 3, 2020
Merged
[APM] Update aggregations to support script sources#76429wylieconlon merged 4 commits intoelastic:masterfrom
wylieconlon merged 4 commits intoelastic:masterfrom
Conversation
Contributor
|
Pinging @elastic/apm-ui (Team:apm) |
dgieselaar
reviewed
Sep 1, 2020
| order?: SortOptions; | ||
| execution_hint?: 'map' | 'global_ordinals'; | ||
| }; | ||
| } & MetricsAggregationOptions; |
Contributor
There was a problem hiding this comment.
should we rename this then?
dgieselaar
previously approved these changes
Sep 2, 2020
Contributor
|
@wylieconlon hold up... I remember why i didn't approve. |
dgieselaar
reviewed
Sep 2, 2020
| .field, | ||
| }, | ||
| cardinality: | ||
| 'field' in projectionSource |
Contributor
There was a problem hiding this comment.
I don't think we (should) expect a script option here. I feel like we can solve this differently. Do you mind if I push a small change to your branch?
dgieselaar
approved these changes
Sep 3, 2020
Contributor
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Sep 3, 2020
* master: (340 commits) [data.search.SearchSource] Remove legacy ES client APIs. (elastic#75943) [release notes] automatically retry on Github API 5xx errors (elastic#76447) [es_ui_shared] Fix eslint exhaustive deps rule (elastic#76392) [i18n] Integrate 7.9.1 Translations (elastic#76391) [APM] Update aggregations to support script sources (elastic#76429) [Security Solution] Refactor Network Top Countries to use Search Strategy (elastic#76244) Document security settings available on ESS (elastic#76513) [Ingest Manager] Add input revision to the config send to the agent (elastic#76327) [DOCS] Identifies cloud settings for Monitoring (elastic#76579) [DOCS] Identifies Cloud settings in Dev Tools (elastic#76583) [Ingest Manager] Better default value for fleet long polling timeout (elastic#76393) [data.indexPatterns] Fix broken rollup index pattern creation (elastic#76593) [Ingest Manager] Split Registry errors into Connection & Response (elastic#76558) [Security Solution] add an excess validation instead of the exact match (elastic#76472) Introduce TS incremental builds & move src/test_utils to TS project (elastic#76082) fix bad merge (elastic#76629) [Newsfeed] Ensure the version format when calling the API (elastic#76381) remove server_extensions mixin (elastic#76606) Remove legacy applications and legacy mode (elastic#75987) [Discover] Fix sidebar element focus behavior when adding / removing columns (elastic#75749) ...
wylieconlon
pushed a commit
that referenced
this pull request
Sep 3, 2020
* [APM] Update aggregations to support script sources * Fix whitespace * Fix checks * Explicitly require field in projection Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co> Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
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.
fieldis not always required on aggregations, it's eitherfieldorscriptparameters. This distinction was represented for metric aggregations, but not for bucket aggregations.