Skip to content Skip to sidebar Skip to footer

What Do I Return From The Query Function Of Datasource.js For Grafana Log Panel Datasource Plugin?

I am trying to reproduce the steps given in grafana log data source plugin so that I can replace the current-query function with a hardcoded log-panel compatible query function

Solution 1:

After looking into one of the test files in Grafana | LogDetails.test.tsx

Looks, like it must be returned must be returned as

result.data = [frame]
return result

Post a Comment for "What Do I Return From The Query Function Of Datasource.js For Grafana Log Panel Datasource Plugin?"