We are very happy to announce version 0.2.0 of the Rust tracker. This release adds big component of tracker architecture - the Event Store! As the name suggests, it’s used to store events before they are sent to the collector, allowing the tracker to be resilient to network issues and to batch events together to reduce the number of requests to the collector.
It also comes with a handy retry mechanism, so if the collector is down, the tracker can have another go (or several, or none, it’s configurable!) at sending events.
A couple of other useful features have been added:
- The tracker now emits logs!
cargo audithas been added to the CI pipeline, so we can be sure we’re not using any vulnerable dependencies.
If you are upgrading from 0.1.0 there are a couple of breaking changes to be aware of:
Tracker.trackis no longer an async function
- The Emitter must be safely closed to allow the tracker to drop, as it spawns a thread to send events. This can be done by calling