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

Conflict with Worldmap #43

Open
DmitrySidorow opened this issue Oct 30, 2020 · 6 comments
Open

Conflict with Worldmap #43

DmitrySidorow opened this issue Oct 30, 2020 · 6 comments
Labels

Comments

@DmitrySidorow
Copy link

DmitrySidorow commented Oct 30, 2020

Grafana world map breaks after opening TrackMap

How to reproduce it:

Worldmap settings:
Screenshot_4

  1. Worldmap works fine
    Screenshot_1

  2. Opening TrackMap
    Screenshot_2

  3. Opening WorldMap - the circle is gone and 'TypeError: Cannot read property 'x' of undefined' error
    Screenshot_3

  4. after re-logging in my account Worldmap works fine again:
    Screenshot_5

Environment:

  • Grafana version: 7.3.0
  • Data source type & version: postgres 12 + TimescaleDB
  • OS Grafana is installed on: Ubuntu 18.04.05
  • User OS & Browser: windows 10 + chrome, firefox (doesn't matter)
  • Grafana plugins: Worldmap panel, TrackMap
@amotl
Copy link

amotl commented Nov 5, 2020

Dear Dmitry,

thanks for referencing this issue at grafana-toolbox/panodata-map-panel#47 (comment).

@amfgomez also observed that

Grafana can not load two different map plugins at the same time.

@wetterfrosch has been observing the same thing the other day when mixing the original Grafana Worldmap Panel and our Grafana Map Panel fork. While it should work in theory, something happens under the hood which makes this thing croak. However, we have been able to confirm that multiple instances of our fork [1,2] actually work within the same dashboard.

Maybe it will also work out of the box when mixing instances of the Grafana Map Panel fork with this Grafana Trackmap Panel on the same Dashboard? You can find release packages at [3].

With kind regards,
Andreas.

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

@DmitrySidorow
Copy link
Author

DmitrySidorow commented Nov 5, 2020

Dear Dmitry,

thanks for referencing this issue at panodata/grafana-map-panel#47 (comment).

@amfgomez also observed that

Grafana can not load two different map plugins at the same time.

@wetterfrosch has been observing the same thing the other day when mixing the original Grafana Worldmap Panel and our Grafana Map Panel fork. While it should work in theory, something happens under the hood which makes this thing croak. However, we have been able to confirm that multiple instances of our fork [1,2] actually work within the same dashboard.

Maybe it will also work out of the box when mixing instances of the Grafana Map Panel fork with this Grafana Trackmap Panel on the same Dashboard? You can find release packages at [3].

With kind regards,
Andreas.

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

yes, I can use both plugins on the same dashboard. But I want use it also in different dashboards..

@DmitrySidorow
Copy link
Author

Just noticed. If I open this dashboard (with worldmap and trackmap) from another device, I get the same error

@amotl
Copy link

amotl commented Nov 5, 2020

Yes, I can use both plugins on the same dashboard. But I want use it also in different dashboards.

Seriously? I haven't been aware of that. Bummer!

If I open this dashboard (with worldmap and trackmap) from another device, I get the same error.

Too bad. Are you already using the grafana-map-panel fork within that dashboard?

@amotl
Copy link

amotl commented Nov 5, 2020

Apart from that, and without any offense to @pR0Ps, I became aware of https://github.com/alexandrainst/alexandra-trackmap-panel by @Drazair, @j-or and contributors the other day. This apparently has been coming from [1].

While there is [2], support for Grafana 7 has been added just recently, see alexandrainst/alexandra-trackmap-panel#18 and alexandrainst/alexandra-trackmap-panel#24. So, you might want to use a recent release from [3] for checking that out.

[1] https://gitlab.com/synchronicity-iot
[2] https://grafana.com/grafana/plugins/alexandra-trackmap-panel
[3] https://github.com/alexandrainst/alexandra-trackmap-panel/releases

@DmitrySidorow
Copy link
Author

Apart from that, and without any offense to @pR0Ps, I became aware of https://github.com/alexandrainst/alexandra-trackmap-panel by @Drazair, @j-or and contributors the other day. This apparently has been coming from [1].

While there is [2], support for Grafana 7 has been added just recently, see alexandrainst/alexandra-trackmap-panel#18 and alexandrainst/alexandra-trackmap-panel#24. So, you might want to use a recent release from [3] for checking that out.

[1] https://gitlab.com/synchronicity-iot
[2] https://grafana.com/grafana/plugins/alexandra-trackmap-panel
[3] https://github.com/alexandrainst/alexandra-trackmap-panel/releases

[3] works great! Now I can draw path and track multiple objects. But [3] still conflicts with latest (0.13.0) grafana-map-panel in different dashboards.

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

No branches or pull requests

3 participants