Skip to content
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

[Lens] [EsAggs][Meta] Optimize esaggs requests when possible #153629

Open
4 of 6 tasks
dej611 opened this issue Mar 24, 2023 · 1 comment
Open
4 of 6 tasks

[Lens] [EsAggs][Meta] Optimize esaggs requests when possible #153629

dej611 opened this issue Mar 24, 2023 · 1 comment
Labels
enhancement New value added to drive a business result Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Meta performance Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@dej611
Copy link
Contributor

dej611 commented Mar 24, 2023

Describe the feature:

Lens is a generic analysis tool and leverages the esaggs infrastructure to query data from Elastisearch: in general the approach has been so far to not make specific assumptions based on fields or index metadata to build the aggs request to send over the wire.

I think as we are approaching enough coverage of supported aggs in the editor it makes sense to operate on the optimization side and leverage some metadata to reduce the query time when possible.
In the past some work has been already done to reduce the number of aggs (as for duplicate percentiles or formula duplicate operations) but this can be extended also to specific cases where ES offers speed-ups for specific cases.

Issue breakdown

Preview Give feedback
  1. Feature:Lens Team:Visualizations backport:skip release_note:skip v8.7.0
  2. Feature:Lens Team:Visualizations backport:skip release_note:skip v8.6.0
  3. Feature:Lens Team:Visualizations impact:medium performance
  4. Feature:Lens Team:Visualizations blocked enhancement epic impact:medium
    ppisljar
  5. Feature:Lens Team:Visualizations enhancement impact:high
    dej611 ppisljar
  6. Feature:Aggregations Feature:Lens Team:Visualizations enhancement impact:low performance
@dej611 dej611 added Meta Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Mar 24, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

@drewdaemon drewdaemon added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Meta performance Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants