endlessm / azafea

Service to track device activations and usage metrics
Mozilla Public License 2.0
10 stars 2 forks source link

Parse the Endless image ids #89

Closed bochecha closed 4 years ago

bochecha commented 4 years ago

The OS image id we receive in multiple events has a very specific format, with a few components, all of which are interesting to run queries on.

All the current Endless event processors are changed to do that, sotring the individual components of the image id in the appropriate table.

A specificity of the metrics events is that invalid image ids are never sent by the clients, whereas ping and activations are sent with the special unknown image id which need to be treated as valid records.

This also needs to account for an old, long fixed bug, which still generates ping and metrics records unfortunately.