Skip to main content

Plugins

Install plugin on local Grafana

Option 1: with grafana-cli

# Internet network is required
# reference to https://grafana.com/docs/grafana/latest/administration/cli/#plugins-commands
grafana-cli plugins install marcusolsson-hourly-heatmap-panel

Option 2: manually unpack the .zip file

unzip my-plugin-0.2.0.zip -d YOUR_PLUGIN_DIR/my-plugin

By default the plugin_dir is /var/lib/grafana/plugins。

Restart the Grafana

systemctl stop grafana-server
systemctl start grafana-server
Q & A

Q: 安裝了 marcusolsson-hourly-heatmap-panel-1.0.0 plugin,可是從 Visualization 裡找不到。
A: 使用 grafana-cli 指令與 UI 介面的 Plugins 確認能看到這個 plugin,網站登出再登入試試。