You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
I've been using Grafana 4.1 for a while, and recently came across a use case for the worldmap panel. Initially, I was able to use ES as a datasource and use a geohash; however, I now need to use InfluxDb and map my "apregion" tag to a custom json file. Below is an sanitised example of the file in terms of its structure:
I can't share the exact file I'm using as its confidential, but the file successfully loads when I inspect the Sources tab in developer tools. Below is a screenshot of my configuration for the 'Worldmap' section (let's call the file http://abc.com/file.json):
The documentation is not very clear in regards to using InfluxDb as a datasource with a custom json endpoint; from this point, I'm not entirely sure how to build my query. The measurement I am using is called 'nb_transactions', the field is 'Success', and the tag which maps to the custom json file endpoint is called "apregion". Any advice as to how to build the query from here (sum of the "Success" field)?