[Lens] Bail out of suggestion rendering if load times are too long #100345
Labels
Feature:Lens
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
performance
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Suggestions are expensive because every single one has the performance characteristics of a separate rendered chart (especially on Elasticsearch side in terms of generated queries).
If rendering is slow, we should stop rendering suggestions of fall back to simple icons instead.
We need to decide on a metric when to trigger this behavior and when to kick rendering back in - I suggest the following:
onData
callback), stop rendering suggestionsShow a little warning icon next to the suggestion refresh button to make it obvious what's happening.
The text was updated successfully, but these errors were encountered: