hoptical / nodegraph-api-plugin

A data source plugin for nodegraph panel in grafana
Apache License 2.0
71 stars 14 forks source link

Plugin not working with Grafana 8.3.6 and 8.4.0Beta1 #8

Closed jtorkkel closed 2 years ago

jtorkkel commented 2 years ago

In 7.5.7/8.3.6/8.4.0Beta1 table panel works (nodes and fields content shown) but Node Graph view (both view) show empty panel.

Works with 8.1.5 and 8.2.7

mreferre commented 2 years ago

Ah! I came here to open an issue for the same problem. I did not even think this could be a version thing. I thought I was doing something wrong on my part.

For context, I started my Grafana instance with:

docker run -it --rm -v $PWD:/var/lib/grafana/plugins/nodegraph-api-plugin -e "GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=hamedkarbasi93-nodegraphapi-datasource" -p 3000:3000 --name grafana.docker grafana/grafana

Where $PWD is the dist directory resulted from the yarn build.

The "table view" does show the data from the local python example REST service: image

But the "non table view" says No Data: image

mreferre commented 2 years ago

@jtorkkel have you tested a Grafana version that works? I am probably not interested in using the super latest so any version that works with this could do for me.

Never mind I did not read your last line.

smortexa commented 2 years ago

I can confirm that this issue exists.

yutou15 commented 2 years ago

same issue for me

hoptical commented 2 years ago

The bug was due to the recent commit in the Grafana node graph plugin. This caused data source plugin failure in versions >8.3.5. and <8.0.0.

BTW, it's fixed in the latest release. and it works for all versions.(7.5 and higher)

smortexa commented 2 years ago

Thanks. This worked for me.

jtorkkel commented 2 years ago

Works now, thanks