-
Notifications
You must be signed in to change notification settings - Fork 43
performance issues with 500k of influxdb data. #68
Comments
Thank you for bug report. In order to reproduce the problem, please, send versions of grafana and statusmap and also statusmap panel options as exported panel json or as screenshots. |
Perhaps the most helpful tip is this: You'll know you've reproduced this when the UI becomes unresponsive....barely alive. StatusMap version: v0.1.1 |
Got some time to investigate this issue. It looks like some kind of overhead from d3. One way to eleminate a bottleneck is to precalculate x, y, width, height, and especially a color before render — this can help to avoid multiple scaling operations. So.. Sorry, no quick fix here :( |
Thanks for having a look. Any suggestions (you've had a few good influx sql suggestions for me already!!) on tweaking my influx to eliminate these nulls? Would that help anything? --Erik
|
Hey, I'm struggling a bit with the performance as well. My approach was to divide the received data into multiple panels to benefit from Grafana's lazy loading. However, when every panel is loaded, my dashboard takes up about 3 gb RAM. My idea was to implement virtual scrolling under the use of Intersection Observers, i.e. the heatmap is only rendered when it is inside of the viewport. Could this be a feature for this plugin? Maybe some "performance-mode"-option, which deactivates hovering effects and activates virtual scrolling. I could provide an implementation for it! |
Hi,
Our influxdb response has about 500k of response data, see attached influxdb-response_02.json.
influxdb-response_02.zip
The majority of the influx response is nulls, but I don't have a clue how to make this work without them. Any suggestions? There are about 130 rows in my status map.
I tried this in both chrome (v74 / windows) and IE (11.1087.16299.0CO ) and the results are about the same.
The retrieval of the influx response is sub second -- certainly acceptable.
but
..and there were no problems before.
Attached is a saved chrome profile session
Profile-20190513T141245_b.zip
--Erik
The text was updated successfully, but these errors were encountered: