grafana / worldmap-panel

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

Wrong threshold color when multiple points have the same latitude/longitude (aggregation not working?) #282

Open paulfirstimpression opened 3 years ago

paulfirstimpression commented 3 years ago

Hi,

First of all I want to thank you for all the hard work to create this worldmap panel. I'm using Grafana 7.2.1 and InluxDB 2.0 cloud as datasource.

I've got an issue when multiple measurements have the same longitude and latitude. Each measurement has an error level (0 or 1 =no error, 2 = warning, 3 = alert) to which I set threshold colors.

When hovering the location, I see all separate measurements, but the shown color is not the highest or total of all measurements.

threshold color bug

It doesn't matter if I set aggregation to total, max, current, etc.

If I set my Metric field (ErrorLevel) to value 0, the item is not shown on the map (it was in the original Worldmap panel.

amotl commented 3 years ago

Dear Paul,

did you intend to file this issue against our grafana-map-panel fork?

With kind regards, Andreas.

paulfirstimpression commented 3 years ago

Hi Andreas,

Yes sorry, as I see now I probably posted it at the wrong place. Shall I repost it? Or can I transfer it? I really like your fork for all the extra features and the fact that it's clickable.

Best regards, Paul

amotl commented 3 years ago

Dear Paul,

I really like your fork for all the extra features and the fact that it's clickable.

Thanks. Appreciate it!

Shall I repost it?

Yes, please repost it.

With kind regards, Andreas.