How to modify existing plugins?

So I’ve been wanting to experiment integrating say an internationalisation library, the likes of i18next, into existing Grafana plugins, like the Graph or the Gauge. I was able to do simple stuff like date formating, language translation and others, but using CorpGlory’s webpack version of the Graph Panel.

I would like to apply such modifications in the preinstalled Graph Panel that comes with Grafana, but I have no clue how to do so.

By that I mean I do not know how to add libraries, node modules, or source code to the existing plugin and recompile it to save such modifications.

I’d be really happy to have some insight on this matter.

1 Like