Creating plugin for Grafana v8.0.3 results in: `Fetch error: 404 Not Found Instantiating`


I’m trying to create a custom datasource plugin in Grafana v8.0.3, but keep getting: Fetch error: 404 Not Found Instantiating http://localhost:3000/grafana/public/plugins/test-my-plugin/module.js Loading plugins/test-my-plugin/module

However, the same plugin works for Grafana v7.5.3. I’m following this link: Build a data source plugin | Grafana Labs

I’m using Docker to host Grafana: docker run -d -p 3000:3000 -v C:\dev\grafana\grafana-plugins:/var/lib/grafana/plugins -v C:\dev\grafana\config\grafana.ini:/etc/grafana/grafana.ini --name=grafana grafana/grafana:8.0.3

Are there some additional steps that need to be executed when building your own datasource plugin for Grafana v8.0.3?

This command works on Grafana 7.5.3?

Also, can you see in the grafana logs (sudo docker logs grafana) if your datasource is registered?

Yes, for Grafana 7.5.3 I’m able to view the plugin:

Looks like the datasaource is registered:

Using grafana v8.1.2, solved the issue

Glad to hear and sorry for not being able to help