Open ethansiegl opened 4 years ago
Is there a way to reliably reproduce this behaviour?
The only way I currently think this could happen is when the onDataReceived
Event within the control is not raised anymore.
Which version of Grafana are you using?
Sometimes after an error/exception has been thrown in the onHandleMetric code, the data which is passed to the javascript disappears. In other words, when trying to extract data from
ctrl.data[0].datapoints
, the value will be empty after an exception where previously it had a value.The only way to restore the data is to delete the panel and create a new one.
I have seen this behavior when using the SVG panel with an elasticsearch datasource