[Lens] Use the embeddable only for rendering #167631
Labels
enhancement
New value added to drive a business result
epic
Feature:ES|QL
ES|QL related features in Kibana
Feature:Lens
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
performance
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Describe the feature:
There are cases that the users want to use their own data and use Lens only for rendering. Except from that there are cases where the Lens chart is embedded in an application which already has retrieved the data for other reasons (e.g. depict a table). It is not performant to run the same query twice (one for the app and one for the embeddable).
The Lens embeddable should be able to accept the table as input, not run the search query, and render the charts with the given configuration.
In Discover for example every time we depict a Lens suggestion we run the ES|QL query again (once for Discover and once for Lens). As we already have the table in Discover it could be passed into Lens embeddable and avoid re-running the query once again.
The text was updated successfully, but these errors were encountered: