Boerderij / Varken

Standalone application to aggregate data from the Plex ecosystem into InfluxDB using Grafana as a frontend
MIT License
1.14k stars 132 forks source link

issue with new tautulli.py #10

Closed drizuid closed 6 years ago

drizuid commented 6 years ago

Hello, Long time user of your dashboard, great work! Initially, in preparation for the changes i modified tautulli.py to leverage ipstack after I got my api key. This worked fine, but you can only do 100 free lookups. After than, i pip3 installed geoip, get your updated tautulli.py and ran it. It works for everything except my map.

I checked to see if you had made corresponding changes to the grafana json but I saw none. In lieu of logs (not sure which ones you'd want or where to get them) I hope the following data helps.

SELECT count("location") AS "metric" FROM "Tautulli" WHERE ("type" = 'Session') AND time >= now() - 1m GROUP BY "region_code"

which in my case returns:

name: Tautulli
tags: region_code=5000473
time                metric
----                ------
1531954365899092742 2

this data doesn't plot anything on the map for some reason though.

If there is anything I can provide or do to assist tshooting, please let me know! Thanks!

lludlow commented 6 years ago

look like what is being returned now is geoname_id the worldmap plugin doesn't like this, it is not a lat/long or a geohash