Installing ClickHouse Datasource for Grafana on FreeBSD
22 October 2024
FreeBSD is not officially supported by the plugin but it's not difficult to install it manually.
First install node, npm, go and mage.
Then clone the repo to /var/db/grafana/plugins.
Then in the plugin directory:
npm i
npm i @swc/core-freebsd-x64
cd node_modules/@swc/core
cp ../core-freebsd-x64/swc* .
cd ../../
Then:
npm run build
mage -v build:backend
Then in /usr/local/etc/grafana/grafana.ini:
[plugins]
allow_loading_unsigned_plugins = grafana-clickhouse-datasource
Then restart Grafana:
service grafana restart