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

[TSVB] Loading TSVB in editor initially sends wrong timeRange #68509

Closed
timroes opened this issue Jun 8, 2020 · 3 comments · Fixed by #67848
Closed

[TSVB] Loading TSVB in editor initially sends wrong timeRange #68509

timroes opened this issue Jun 8, 2020 · 3 comments · Fixed by #67848
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

Comments

@timroes
Copy link
Contributor

timroes commented Jun 8, 2020

Kibana versions: master (potentially 7.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.

Peek 2020-06-08 15-04

@timroes timroes added 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 labels Jun 8, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@sulemanof
Copy link
Contributor

Can it wait for #67848 is merged?
The rendering logic is changed significantly there, so this also could potentially bring a fix 🙂

@stratoula
Copy link
Contributor

@sulemanof yes let's hope we have a fix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants