-
Notifications
You must be signed in to change notification settings - Fork 225
Description
We use the GeoLite2-City database to convert Ip addresses into locations to render in the telemetry UI.
Currently, we have an uncompressed version of this in GitHUb (~60MBs). It's somewhat out of date now, and needs updating to continue doing a good job as IP addresses change hands.
I wonder whether, instead of bundling a database, Telemetry should download and cache one upon starting, falling back to the bundled one only if this is not possible, or we fail to initialise the downloaded DB.
I found this source: https://cdn.jsdelivr.net/npm/geolite2-city/ (via here)
MaxMind provides this database but you need to sign up for it. We could also go through this process and use whatever API key they provide to do similar, if there are any licensing concerns using the direct link above, though I'd start with the direct link.