Hi everyone,
I have Grafana installed locally on my pc, and I want to build a panel plugin.
I’m following the instruction given in the documentation (Build a panel plugin | Grafana Labs) but it seems like Grafana doesn’t recognize my newly created panel.
I’m writing here, for completeness, all the steps I made: 1. set the plugins property to the path of my grafana-plugins directory 2. In the plugin directory I run this command: npx @grafana/toolkit plugin:create my-plugin 3. change directory to my-plugin 4. installed dependencies with the command yarn install 5. build the plugin with the command yarn dev 6. restarted the grafana server
There may be a few points that could be getting wrong. Let me try to help you:
Is the folder of your plugin in the Grafana Plugin folder? (Although im not sure if the way i do it is the standard or best practice, i usually have a plugins folder inside the data folder which contains all plugins)
If your plugin folder is in correct place, your grafana server might complain that your plugin is not signed. Either you can sign it or, for testing purposes, you can go to the config file and explicitly tell grafana to skip the signing verification for your plugin
If you need further assistance, please let us know
Hi, I created a custom panel using (npx @grafana/create-plugin@latest) , installed the required dependencies and tried running on docker, but I am again and again getting the error as
Hi @academo grafana is running on localhost:3000 but my panel name is not visible in the visualizations as this “update check failed” error kept coming while running docker.
@manshikumar778 if grafana is running as usual then you can disregard this error as it is unrelated to your plugin.
did you build your plugin? npm run build or npm run dev in your project. if you want it to watch your changes. When you build it for the very first time (first time it generates a dist folder) you must restart the grafana server so it can pick it up correctly.
To make sure your plugin had been picked up correctly go to Admin → Plugins and check if your panel plugin is in the list.
Hi @academo , I have build it properly, installed all the required dependencies, still, I am not sure why my panel plugin is not showing in the visualizations.
Could you please help with the same?
No, but could you please connect with me over mail or something, mail id: manshikumar778@gmail.com. I can share with you my zip folder, it’s really important at the moment and i have invested so much time in it still no luck, even after nil errors. Please let me know! Thank you so much