Open JosephFY opened 6 years ago
Yes, I was just researching this today. After 5.0.4 upgrade, the Worldmap panel returns:
Cannot read property 'length' of undefined
Here's the stack trace:
at e.isMsResolutionNeeded (https://$URL/public/build/app.5372b9bbcb8c6d1c027e.js:1:17572)
at new e (https://$URL/public/build/app.5372b9bbcb8c6d1c027e.js:1:14477)
at WorldmapCtrl.seriesHandler (https://$URL/public/plugins/grafana-worldmap-panel/worldmap_ctrl.js:227:26)
at Array.map (<anonymous>)
at WorldmapCtrl.onDataReceived (https://$URL/public/plugins/grafana-worldmap-panel/worldmap_ctrl.js:210:38)
at o.emit (https://$URL/public/build/vendor.0cea50118711e7e6c839.js:44:25321)
at e.emit (https://$URL/public/build/app.5372b9bbcb8c6d1c027e.js:1:13178)
at WorldmapCtrl.e.handleQueryResult (https://$URL/public/build/0.5c89ac3fc7a3e78b3629.js:7:18161)
at u (https://$URL/public/build/vendor.0cea50118711e7e6c839.js:87:69119)
at https://$URL/public/build/vendor.0cea50118711e7e6c839.js:87:69565
Removed URL for privacy reasons, of course.
The panel is using Elasticsearch GeoHashGrid, on geoip.location, which is a geo_point type.
Here's a sample reply from ELK: query_panel.txt
Hope this helps with the investigation.
Is this the same issue as #143? Also which version of the worldmap plugin are you using?
I tested last week with geo hashes with the latest version of the plugin and it worked for me. On vacation without a computer until the 16th but can test again then.
I am using version worldmap 0.0.21
with graphite as a data source and Grafana v5.0.0-pre1
I have another instance of Grafana running on version 4.4.3
and have no issues with with the panel. Seems like the issue with then Grafana version. the map just quits the query right away. It usually takes couple of seconds to load the data points.
I have not tested on the recent stable version of Grafana. Will give that a shot soon and let you know if it works. the issue that the map is one of the core plugins in our Grafana usage so can't upgrade if it's not working on version 5 !
I am using json endpoint for the Map data option. again same exact settings on both grafana versions.
@daniellee appreciate the help, enjoy your vacation :)
@daniellee did you get a chance to look at this issue ?
Any one has encountered any issue after upgrading to
Grafana 5.0.4
? I was running it on4.4.3
without any issuesThe panel is not showing any dotes on any dashboard after working after the upgrade. All the other
The entire dotes are not showing,
Any help is really appreciated, this panel is so crucial to us that I cant even consider the upgrade without having it working