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

[ES|QL] dashboard panel with a many fields dataset crashes browser #187089

Closed
drewdaemon opened this issue Jun 27, 2024 · 2 comments · Fixed by #187142
Closed

[ES|QL] dashboard panel with a many fields dataset crashes browser #187089

drewdaemon opened this issue Jun 27, 2024 · 2 comments · Fixed by #187142
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:ES|QL ES|QL related features in Kibana Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:ESQL ES|QL related features in Kibana Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@drewdaemon
Copy link
Contributor

Kibana version:
8.14

Browser version:
Brave Version 1.67.123, Chromium: 126.0.6478.126 (Official Build) (arm64)

Describe the bug:
When an ES|QL panel is added to a dashboard with this particular dataset, the browser freezes.

Steps to reproduce:

  1. Start ES with FTR: node scripts/functional_tests_server.js --journey x-pack/performance/journeys_e2e/data_stress_test_lens.ts
  2. Ingest dataset: node scripts/es_archiver.js --es-url http://elastic:changeme@localhost:9220 --kibana-url http://elastic:changeme@localhost:5620 load test/functional/fixtures/es_archiver/stress_test
  3. Create data view: node scripts/kbn_archiver.js --kibana-url http://elastic:changeme@localhost:5620 load test/functional/fixtures/kbn_archiver/stress_test
  4. Open a new dashboard
  5. Add an ES|QL panel
  6. 💥

Expected behavior:
The browser tab shouldn't crash.

Screenshots (if relevant):
Screenshot 2024-06-27 at 10 49 48 AM

Provide logs and/or server output (if relevant):

Server is as happy as a clam.

Any additional context:

Interestingly, the same issue doesn't occur in Discover ES|QL mode. Just dashboard panels.

@drewdaemon drewdaemon added bug Fixes for quality problems that affect the customer experience impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Feature:ES|QL ES|QL related features in Kibana Team:ESQL ES|QL related features in Kibana labels Jun 27, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-esql (Team:ESQL)

@stratoula stratoula added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Jul 2, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@stratoula stratoula self-assigned this Jul 2, 2024
stratoula added a commit that referenced this issue Jul 2, 2024
## Summary

Closes #187089

Fixes the performance of the ES|QL charts:

- the panel
- the table visualization

The ES|QL charts become imperformant for a big amount of fields. I am
changing the implementation a bit in order to render (and hold to cache)
only the fields that take part in the visualization and not all colums

### Checklist

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:ES|QL ES|QL related features in Kibana Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:ESQL ES|QL related features in Kibana Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants