Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grafana world map panel shows provinces only in USA, not for all countries #293

Open
ruchabapat-tomtom opened this issue Jan 5, 2021 · 1 comment

Comments

@ruchabapat-tomtom
Copy link

We are using Grafana world map panel. We have a database having mapping of ips to countries, country iso codes, provinces and province iso codes. We are using maxmind database. When we try to use province iso codes mapped with states column in Grafana wolrd map panel, map only shows provinces in USA not in all countries.

Is there any specific format or names Grafana expects from province iso codes? If yes, where can we find that?

Grafana version: v6.7.4
Data source type & version: Azure data explorer
OS Grafana is installed on: Linux
User OS & Browser: Chrome and firefox
Grafana plugins: World map panel 0.2.1

@amotl
Copy link

amotl commented Jan 19, 2021

Hi @RuchaBapat,

U.S. states are mapped specifically at [1]. That's probably the reason why it doesn't work for other countries.
We are semi-actively maintaining our fork [2] and will be happy to accept respective patches in order to improve the situation. You can find setup instructions at [3].

With kind regards,
Andreas.

[1] https://github.com/grafana/worldmap-panel/blob/master/src/data/states.json
[2] https://github.com/panodata/grafana-map-panel
[3] https://community.panodata.org/t/grafana-map-panel/121#setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants