I’d like to create a minor variation of the singlestat panel. I started with this from Github:
Then I copied the contents into /var/lib/grafana/plugins/singlestat and ran “npm install”. That didn’t work. Grafana complains about module.js missing:
t=2019-11-07T20:35:34+0000 lvl=warn msg=“Plugin missing module.js” logger=plugins name=“Anomaly Stat” warning=“Missing module.js, If you loaded this plugin from git, make sure to compile it.” path=/var/lib/grafana/plugins/singlestat/module.js
There’s no a ton of information about how to develop a panel on the Grafana site. I did find some things. But I can’t find out how to specifically compile this single stat panel just so that I can make the small changes to it I need. The best I could find was to compile all of Grafana from source, which isn’t really want I want to do.
Can anyone tell me how to compile this specific panel? What am I missing and what dependencies do I need to install?
Thanks,
Lou