我尝试从 github 将此插件安装到 Grafana:
https://github.com/Vertamedia/chtable
我将此存储库克隆到 pligins 文件夹,然后将插件添加到我的 grafana 容器中:
grafana:
image: grafana/grafana
ports:
- '3000:3000'
environment:
- GF_PATHS_CONFIG="grafana/etc/grafana.ini"
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=vertamedia-clickhouse-datasource,vertamedia-chtable
- GF_INSTALL_PLUGINS=grafana-piechart-panel,grafana-worldmap-panel,vertamedia-clickhouse-datasource,vertamedia-chtable
然后,当我尝试使用此插件创建新的仪表板面板时,收到错误消息:
发生意外错误 TypeError: Cannot read property 'emit' of undefined
Grafana 版本: Grafana v7.4.3 (010f20c1c8)
我的插件未签名。如何修复此错误并使用此插件?