grafana-toolbox / panodata-map-panel

Map Panel for Grafana with improved convenience, robustness and features. Friendly fork of the original Grafana Worldmap Panel. Currently not maintained, but verified to work up to Grafana 9.

Home Page:https://community.panodata.org/t/grafana-map-panel/121

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON endpoint requires URL

erlfos opened this issue · comments

I was going to test this plugin to see if we can move over from the grafana-worldmap-panel plugin, but I stumbled upon a problem, although it could just be me doing something wrong. For "Location data" in the grafana-worldmap-panel I use a JSON file stored on the Grafana server (running in Docker) with Endpoint URL /public/myfiles/sites.json, but when I try that in grafana-map-panel I get an error "Loading locations from JSON endpoint requires URL (LocationError)". Am I doing something wrong or is using a local JSON file not supported in grafana-map-panel? The data queries (InfluxDB) are identical.
grafana-map-panel:
image
This is in grafana-worldmap-panel:
image

Dear @erlfos,

thanks for writing in. Maybe it will start working when you save the dashboard and reload it?

With kind regards,
Andreas.

Hi @amotl
Yes, you were right. I had to save and do a ctrl + f5, but now it works. A bit strange, but maybe it was some kind of browser issue?
Anyways, thank you for your response, I will continue to check out your panel, it has a lot of nice features.