Skip to content

Update GeoLite2-City database handling #606

@jsdw

Description

@jsdw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions