Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I deploy two worldmap-panel on the same grafana? #247

Open
amfgomez opened this issue Jan 22, 2020 · 4 comments
Open

How can I deploy two worldmap-panel on the same grafana? #247

amfgomez opened this issue Jan 22, 2020 · 4 comments

Comments

@amfgomez
Copy link

Hello everyones.

I want to deploy two instances of worldmap-panel in my grafana.

The first worldmap-panel plugin is the original, I have used to deploy the "grafana-client install" command.
The second worldmap-panel plugin, I have made some modifications and I have changed the following files:

  • src/worldmap_ctrl.ts
  • src/module.ts:
  • src/plugin.json:

I have modified the path to plugins folder to another name.
For example grafana-worldmap-panel to custom-panel.

Inside the grafana plugins folder. I have two folders grafana-worldmap-panel and custom-panel. But grafana shows me this:

image

@amotl
Copy link

amotl commented Jan 22, 2020

Dear @amfgomez,

the directory name doesn't matter, it's the plugin id within plugin.json you have to modify, see also https://github.com/panodata/grafana-map-panel/blob/0.8.1/src/plugin.json#L4.

Saying this, we are happy to take your changes on our fork [1] if you plan to contribute then. There are also chances you might like the additional features there.

With kind regards,
Andreas.

[1] https://community.panodata.org/t/grafana-map-panel/121

@amotl
Copy link

amotl commented Feb 4, 2020

Dear @amfgomez,

@wetterfrosch recently experienced issues with multiple instances of Worldmap, too. After switching to our fork [1,2], everything worked smoothly again.

With kind regards,
Andreas.

[1] https://github.com/panodata/grafana-map-panel
[2] https://community.panodata.org/t/grafana-map-panel/121

@wetterfrosch
Copy link

/At least/ when one is not mixing two different types of map-panel-plugins on the same dashboard, yes!

@amotl
Copy link

amotl commented Feb 4, 2020

It looks like we already discussed further details within grafana-toolbox#47. Time flies!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants