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

World map is no longer displayed properly #218

Closed bontchev closed 4 years ago

bontchev commented 4 years ago

My version of Grafana recently updated to 6.3.5 (67bad72) and all sorts of problems started to appear. It is very incompatible with Internet Explorer (time range selector doesn't work, the list of installed plug-ins is not scrollable). One of the plug-ins (Pie Chart) stopped working completely and was showing some garbage. I noticed that there were newer versions of several of the plug-ins I was using, so I made the bad mistake of updating them all (instead of just the one that wasn't working). The World Map plug-in was one of them.

As a result, the Pie Chart now works correctly, but the World Map looks like garbage - the panes of the map are shifted around and no data is displayed on them:

Clipboard01

It looks like this both in Firefox and in Chrome, so I guess it isn't a browser issue; it's something related either to the new Grafana or to the plug-in itself.

Is there an easy way to fix the problem or, if not, how can I install an older version of the plug-in (which used to work just fine)?

bontchev commented 4 years ago

Ah, folks? Any feedback? Is the problem in Grafana? Is the problem in the WorldMap plug-in? How to switch to a working version? The issue is kinda urgent for is, it basically breaks an important dashboard...

bontchev commented 4 years ago

OK, apparently the problem was in the site's content security policy. The style-src element of it only allowed 'self' 'unsafe-inline' but the plug-in also requires blob:. Adding it made the map work again.

Closing the issue now.