[TSVB] Loading TSVB in editor initially sends wrong timeRange #68509
Labels
blocker
bug
Fixes for quality problems that affect the customer experience
Feature:TSVB
TSVB (Time Series Visual Builder)
regression
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
v7.9.0
Kibana versions:
master
(potentially7.x
)When refreshing the page in the Visualize editor, it seems that the chart sometimes render without data and only when I "change" something in the editor (doesn't even need to be a change, just some interaction), it will reload the chart with the correct data. the request send to the TSVB backend, contained the
Last 15 minutes
as interval while my URL held "Last 90 days" as an interval. It seems we're sometimes doing the request with the wrong time range (or the timepicker isn't giving us the correct time range). For some weird reason I am only able to reproduce this when using a terms split and not with Everything as split. In case of Everything as split there will be one wrong request, but the one with the correct timerange will happen immediately afterwards.It also seems that switching the value in the editor will actually cause two requests to
vis/data
the first with the wrong time range the second with the correct one. I could not reproduce the behavior on 7.8.The text was updated successfully, but these errors were encountered: