grafanimate
grafanimate copied to clipboard
Event handling broken since Grafana 8 introduced React
Hi there,
since Grafana 8 introduced React, grafanimate
is having a hard time to properly synchronize with the frontend in order to capture frames efficiently. More information can be found at ^1.
With kind regards, Andreas.
@IntermittentNRG apparently found a solution for newer versions of Grafana, and submitted GH-19, reflecting that. Thanks a stack!
The code just invokes grafanaRuntime.getPanelData()
and checks the result items for state=='Done'
, without further ado. It could have been so easy! ;]
It is still a synthesized event handling, but much better than waiting for unknown amounts of time through the currently implemented exposure-time
option.