endlessm / azafea

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

metrics: Allow replaying events #54

Closed bochecha closed 4 years ago

bochecha commented 4 years ago

Sometimes Azafea will be a bit late and won't have implemented all the events the clients send. When that happens, those received events get stored into the "unknown" tables.

In addition to that, sometimes a bug will cause a client to send invalid metrics events, or a bug in Azafea will cause it consider an event invalid, even if it is valid. When any of those happens, those received events get stored into the "invalid" tables.

This merge request introduces two new commands, to replay unknown and invalid events.