-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
On dashboards, Lens already supports the upcoming "Send to background". Within the Lens editor, this doesn't make much sense because it's based on interactivity. If the user wants to edit a visualization tied to slow data sources, they should try to decrease the size of the data set (e.g. just use the last 30mins of data instead of last 2 years) for editing, then when back on dashboard they can send the long running search to background.
If requests are very slow in Lens, we should advise the user to use a smaller data set here and use background sessions when back on the dashboard.
Context
Part of #83640
On dashboards, Lens already supports the upcoming "Send to background". This should also work within the Lens editor. To do so, the "searchSessionId" has to be kept around and passed to the expression to allow the data layer to pick up a search running in the background.