grafana / worldmap-panel

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

World Map and anything else just disappears #213

Closed Thosch42 closed 5 years ago

Thosch42 commented 5 years ago

Hello, I installed the World Map Plugin on my Grafana 6.3.2, trying to visualize sensor data with geohash tags from my Influxdb. First I setup the query, following the instructions, then setup the World Map Panel. So far, so good. Looking at the panel, it is just empty (see picture 1). If I try to edit the panel, I can see just nothing... (picture 2) geo1 geo2

Any suggestions?

Cheers, Thomas

Thosch42 commented 5 years ago

... and this is the JSON of the panel:

{ "circleMaxSize": 30, "circleMinSize": 2, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 0, "esGeoPoint": "geo", "esMetric": "metric", "gridPos": { "h": 9, "w": 12, "x": 0, "y": 0 }, "hideEmpty": false, "hideZero": false, "id": 2, "initialZoom": 1, "locationData": "geohash", "mapCenter": "Europe", "mapCenterLatitude": 46, "mapCenterLongitude": 14, "maxDataPoints": 1, "mouseWheelZoom": true, "options": {}, "showLegend": true, "stickyLabels": false, "tableQueryOptions": { "geohashField": "geohash", "latitudeField": "latitude", "longitudeField": "longitude", "metricField": "metric", "queryType": "geohash" }, "targets": [ { "groupBy": [ { "params": [ "geo" ], "type": "tag" }, { "params": [ "dev_nr" ], "type": "tag" } ], "measurement": "d_001.MET.1", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "Temp" ], "type": "field" }, { "params": [ "metric" ], "type": "alias" } ] ], "tags": [] } ], "thresholds": "0,10", "timeFrom": null, "timeShift": null, "title": "Panel Title", "type": "grafana-worldmap-panel", "unitPlural": "", "unitSingle": "", "valueName": "total" }

amotl commented 5 years ago

Dear Thomas,

thanks for writing in.

We can confirm others are observing the same issue, see also #212, https://github.com/grafana/grafana/issues/15406 and https://github.com/grafana/grafana/issues/15654 and we also know this guy well as we pretty much mitigated the issue within our fork at [1] (see also [2]), where it also was sporadically popping up on Grafana <6.3 - at least for us.

However, something changed with Grafana 6.3 so the issue is coming up again and is also becoming visible within our fork again, where this specific issue was believed to be reasonably improved already. Bummer.

We offered to have a look already but unfortunately have been pretty much swamped during the last days so we still hope to be able to hold up to this promise by trying to get some free time during the next days dedicating ourselves to this.

Cheers, Andreas.

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

xubaobao19940428 commented 5 years ago

can you tell me ,Wordmap how to use in window