grafana / worldmap-panel

Worldmap panel plugin for Grafana 3.0 that can be overlaid with circles for data points.
MIT License
309 stars 199 forks source link

Map not redering correcly in 6.3 #212

Closed baffioso closed 5 years ago

baffioso commented 5 years ago

Just upgraded grafana from 6.2.X to 6.3.2 (commit: 4832460), and are experiencing troubles with map rendering. This is also descriped here: https://github.com/grafana/grafana/issues/15406 . Mayde an ugly solution could be to increase time out to 250 ms (worked for me in an old leaflet project)?

image

amotl commented 5 years ago

Dear @baffioso and @briangann,

we tried hard to mitigate any timing problems we experienced with the combination of Grafana and Worldmap within [1,2].

The most recent release of the upcoming Worldmap Panel designated to be mainlined can be installed side by side through:

grafana-cli \
  --pluginUrl https://github.com/hiveeyes/grafana-worldmap-panel/releases/download/0.4.0/grafana-worldmap-panel-ng-0.4.0.zip \
  plugins install grafana-worldmap-panel-ng

Please be aware that while we believe it should work pretty well for most people, it is officially considered to be beta quality, so you should know what you are doing when running this guy in production.

Saying this, we will be happy about any feedback in order to work on any remaining issues experienced by users from the community.

With kind regards, Andreas.

[1] https://github.com/hiveeyes/grafana-worldmap-panel [2] https://community.grafana.com/t/giving-the-grafana-worldmap-panel-some-love/17210

rfrost commented 5 years ago

We have been using WorldMap successfully on version 6 until the recent 6.3 upgrade broke it. I have tried the 0.4.0 version (and other unreleased versions beyond 0.2.0) and they all exhibit the same rendering issue as previously mentioned. The only workaround is to resize the browser window, which will result in the full map rendering properly, however a page reload after that breaks the render as before with a partial map at the top of the page. Opening the page from new will also result in the same failure mode described earlier.

baffioso commented 5 years ago

@amotl Thanks for your thorough explanation. Will checkout the fork and thanks for improving this essential grafana plugin!

amotl commented 5 years ago

Dear @rfrost,

thanks for letting us know about more details of your specific observations. We will try to catch some time for checking the problems against the most recent Grafana 6.3 release. As we can see reproducing the issue is not as easy as falling for its failure, we humbly ask to ping us again if you don't hear back from us soon.

Thanks in advance to @baffioso for also checking out the improved variant - we will be happy to hear about your experiences.

With kind regards, Andreas.

code4me-xx commented 5 years ago

Hi,

I'm experiencing the same problem when upgrading from Grafana 6.2.2 to 6.3.2.

A temporary fix is to set a low refresh interval on the dashboard (5 sec.). The map displays correctly after the first refresh.

Regards Peter

SamLJG commented 5 years ago

Also running into this issue on 6.3.2. The workaround suggested by @code4me-xx has worked for me.

adriankuzniewski commented 5 years ago

All sorted witn never version v0.2.1