grafana生产app_mode是不是无法加载data/plugins目录下未签名的插件?
Posted
技术标签:
【中文标题】grafana生产app_mode是不是无法加载data/plugins目录下未签名的插件?【英文标题】:Does the grafana production app_mode can not load unsigned plugins in data/plugins directory ?grafana生产app_mode是否无法加载data/plugins目录下未签名的插件? 【发布时间】:2022-01-06 23:54:37 【问题描述】:发生了什么: 当我使用开发 app_mode 时,grafana 可以成功加载我的自定义插件。 但是当app_mode为production时,无法加载成功。
enter image description here
环境:
Grafana 版本:v8.2.3 数据源类型&版本:自定义数据源插件、自定义面板插件 OS Grafana 安装在:Linux 上 用户操作系统和浏览器:Chrome 配置:allow_loading_unsigned_plugins = true【问题讨论】:
【参考方案1】:请参阅 Grafana default.ini 与 cmets 或 doc:
# Enter a comma-separated list of plugin identifiers to identify plugins to load even if they are unsigned. Plugins with modified signatures are never loaded.
allow_loading_unsigned_plugins =
所以,allow_loading_unsigned_plugins = true
不是正确的配置,但是:
allow_loading_unsigned_plugins = my-plugin-1,my-plugin-2
是正确的。
【讨论】:
以上是关于grafana生产app_mode是不是无法加载data/plugins目录下未签名的插件?的主要内容,如果未能解决你的问题,请参考以下文章