grafana / worldmap-panel

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

Multiple data sources and auto refresh #101

Open TSprinter opened 6 years ago

TSprinter commented 6 years ago

I see multiple data for the 2char country mode (circle in the circle mode) But when timer refresh is happening, some data disappear automatically. Here is screen before refresh: default And after: default Looks like a bug.

TSprinter commented 6 years ago

We updated grafana to 4.5.2 and now i can use Query Inspector. So, here, after refresh, i have the following query (2 datasources):

{ "request": { "method": "POST", "url": "api/datasources/proxy/1/render", "data": "target=aliasByNode(exclude(consolidateBy(ugr.ugre-oraonline.online.diagnostics.countries.CP.00..amt.count%2C%20'sum')%2C%20'RUS')%2C%207)&target=aliasByNode(exclude(consolidateBy(ugr.ugre-oraonline.online.diagnostics.countries.CP.01..amt.count%2C%20'sum')%2C%20'RUS')%2C%207)&from=1507842000&until=now&format=json&maxDataPoints=1"

However i see only data for the second query if both was on the map before refresh. If the first query returns country out of the list in the second one - than it will stay on the map...