Grafana 不显示世界地图。 (grafana-worldmap-panel)

Grafana not displaying World Map. (grafana-worldmap-panel)

我的终端没有互联网连接 (OS-Ubuntu)。因此,我从文件夹 /var/lib/grafana/plugins/ 中有 OS fedora 的其他终端复制了 'grafana-worldmap-panel' 插件。并重新启动 grafana 服务器

当我在面板中添加世界地图时,它只显示图例、放大缩小按钮和面板中复制正确的文本。不显示地图。即使我将鼠标悬停在面板上,鼠标指针也会变成 "Hand" 但不显示 "World-Map"

知道是什么导致了这个问题吗?

如果您没有 Internet 连接,则 Worldmap 将无法使用。

Worldmap 需要互联网连接才能访问基于 OpenStreetMap 地图的 tile map server so that it can show the map and to be able to zoom in. The plugin uses a free service from CartoDB

如果你真的非常需要 Worldmap 插件,是一名程序员并且有一些空闲时间,那么你可以尝试为 Worldmap 实现离线模式。

有关向 Worldmap 添加离线功能的更深入的讨论可以在此 GitHub issue 中找到。