Hi,
I am quite new to Grafana, but it seems like a powerful tool.
I have connected the WorldMap with my data in PostgreSql with success.
We are in the beginning phase of evaluating what system to use for our metric data and one of my concerns is the flexibility of the map i Grafana.
With my limited knowledge of building/extending plugins I expected to find a grunt file in github, but none exists.
How do I build what I have extended the WorldMap with to test it?
the worldmap plugin is using webpack and yarn, take a look at the package.json file in the section “scripts”.
you’ll need to do a “yarn install” (to install packages into node_modules" and “yarn build” to build the plugin.
“yarn dev” can be used to have it recompile when you make changes.
“yarn test” for jest-based testing.
Thanks, as you understand I am pretty new to this.
I have been able to modify the Worldmap panel, rebuild it, build a new docker image with this new plugin and run the docker image. The new plugin I get is my plugin - Great!
I dont get yarn to work. When doing yarn install it complains about not finding an install directory or file.
I actually used npm install and npm build - that seemed to work.
Whould I stay with npm or try to get yarn to work?