m-lab / uuid-annotator

Produces metadata locally for every connection on each server.
Apache License 2.0
0 stars 0 forks source link

Save identifier for annotation sources in archival data #15

Open stephen-soltesz opened 4 years ago

stephen-soltesz commented 4 years ago

The current uuid-annotator output schema only includes the UUID and the Geo & Network annotations. It should additionally include some identifier for the origin dataset from maxmind, routeview or other used to collect the given information.

This is necessary to discover potential errors due to db update failures.

For example:

{
    "Sources": {
        "Geo": {
            "Name": "Maxmind/current/GeoLite2-City.tar.gz",
            "Timestamp": "2020-02-01T01:03:04",
            "Hash": "...."
        }
        "Network": {
            ...
        }
    }
}