ryantxu / ajax-panel

Ajax Panel Plugin for Grafana
MIT License
153 stars 154 forks source link

AJax Panel 0.1.0 does not work in Grafana 8.0 for db queries #91

Open samant-rags opened 3 years ago

samant-rags commented 3 years ago

AJax Panel 0.1.0 does not work in Grafana 8.0 for db queries

samant-rags commented 3 years ago

AJax Panel 0.0.7-dev was working with Grafana 7.5.5 ..7.10

However in later version : 8.0.x, this plugin 0.0.7-dev does not work as its unsigned. The new signed version 0.1.0 does not work with Grafana 8x for the scenario where we use Angular response and Metric Query Request mode , and the datasource is say PostgresSQL and a Query defined.

The response object does not have sql and respDataObj.rows. respDataObj.columns in it. respDataObj here is JSON object of {{response}}

image

samant-rags commented 3 years ago

workaround can be to use 0.7.0 version by setting allow_loading_unsigned_plugins in conf. file. However this is a short term workaround.