Example of a grafana plugin with openglobus. Grafana plugins are written in reactjs.
Install docker and nodejs.
Pull and run the grafana image:
docker pull grafana/grafana:8.3.3
Make sure this plugin is in a grafana-plugins/
folder and go in it (likely cd ..
from here).
cd .. ; docker run -d -p 3000:3000 -v "$(pwd)":/var/lib/grafana/plugins --name=grafana grafana/grafana:8.3.3
Delete
docker stop grafana; docker rm grafana
List
docker ps
Restart
docker restart grafana
yarn install
yarn watch
Build plugin in production mode
yarn build
the login and pasword is admin