How can I provide data to geomap from prometheus?

This is my geo data to worldmap plugin.

Now I want to display the info in geomap. But I don’t know what data type geomap need. Is there an example for me to learn?


You should be able to use a Prometheus query for this data in your geomap panel. In it’s most basic form, you could just use geoip{} and set the Format to Table .

Then for the geomap panel properties, under Data Layer , set the Location to Auto, eg:

Thank you so much,It works.
It still have some problem.It’s very slow when I use geomap with worldmap style data.
And the dashboard has collapsed when i use Table and Auto.

Finally I switch the prometheus data as Instant,then it works well

1 Like