Provisioning official plugins in grafana.ini

Hello,

We are running Grafana 8.1.8, and are trying to find a way to provision Grafana panel plugins using the grafana.ini file. While we are using the allow_loading_unsigned_plugins key in the plugins section, this does not seem to work with official panel plugins, i.e. allow_loading_unsigned_plugins = grafana-clock-panel,grafana-piechart-panel,grafana-polystat-panel,grafana-worldmap-panel.
Is there a different key we should be using?

We would like to move away from using environment variables to manage these plugins, and also have the ability to version-lock them inside grafana.ini, but not sure if this is possible.

We have also tried creating a plugin.yaml file inside of provisioning/plugins, but this seems to only work with app plugins, according to Provisioning plugins not working - service init failed.

Thanks!

Hi @cmckeen, welcome to the community!

If you want to install a specific version, Iā€™d recommend using grafana-cli to install the plugin:

For example, to install version 1.1.3 of the clock panel, you could use:

/bin/grafana-cli plugins install grafana-clock-panel 1.1.3

1 Like