Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Intro to plugin development: mention that Grafana has to be in development mode #172

Open
omarelb opened this issue May 13, 2022 · 1 comment

Comments

@omarelb
Copy link

omarelb commented May 13, 2022

I'm getting started on writing a plugin for the first time. After following the "Create a new plugin" section of https://grafana.com/tutorials/build-a-panel-plugin/#0, the created plugin wasn't being registered.

After looking through the logs, I saw this line:

logger=plugin.loader t=2022-05-13T12:15:18.93+0200 lvl=warn msg="Skipping loading plugin due to problem with signature" pluginID=my-plugin status=unsigned

From other documentation, I noticed that unsigned plugins are only allowed in development mode. After changing app_mode to development, the plugin can be loaded.

In my opinion, the steps in the documentation should make it clear that the app_mode should be changed to development in the config. It should also be made clear that after you have run yarn dev, your plugin is by default unsigned, and that Grafana won't load it unless the config is changed.

@zuchka zuchka moved this to 📬 Uncategorized in Plugins Platform / Grafana Community Oct 7, 2022
@tolzhabayev tolzhabayev moved this from 📬 Uncategorized to 📅 Planned in Plugins Platform / Grafana Community Oct 17, 2022
@tolzhabayev tolzhabayev moved this from 📅 Planned to 💡 Ideation in Plugins Platform / Grafana Community Oct 17, 2022
@marefr
Copy link
Contributor

marefr commented Oct 17, 2022

The backend tutorial has a troubleshoot section mentioning this, but needs an update as well since it says backend plugins requires to be signed - nowadays all plugins required to be signed: https://grafana.com/tutorials/build-a-data-source-backend-plugin/#create-a-new-plugin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

3 participants