quickwit-oss / quickwit-datasource

Quickwit data source for Grafana
GNU Affero General Public License v3.0
39 stars 9 forks source link

Plugin freezes on hovering "Ad-hoc statistics" in explore view #105

Open fmassot opened 4 months ago

fmassot commented 4 months ago

When hovering over “Ad-hoc statistics”, the plugin freezes the browser. It happens occasionally, and I don't know how to reproduce it.

CleanShot 2024-03-12 at 11 57 58@2x

ddelemeny commented 4 months ago

This part of the UI is completely controlled by Grafana. The IconButton doesn't trigger anything on hover except its tooltip, which has seen a dependency change in Grafana 10.4.0.

Need steps to reproduce reliably &| check against Grafana 10.4

ddelemeny commented 4 months ago

Got a similar freeze/slow-down of the UI when using the "show this field" action on traces. Will investigate.

ddelemeny commented 4 months ago

There is definitely an issue with the showField action. It won't freeze everytime, but fairly often. UI seems to go in a recursive update lock, choking the browser's GC. Tested on Firefox 123.0.1

ddelemeny commented 4 months ago

Can be reproduced with query editor components commented out.

ddelemeny commented 3 months ago

Can't seem to reproduce it without the logsInfiniteScrolling feature toggle.

ddelemeny commented 3 months ago

Likely fixed in Grafana 11, see https://github.com/grafana/grafana/issues/85202 and https://github.com/grafana/grafana/pull/84407