SQLite Observer & Exporter for SQLite
This provides a fairly simple SQLite powered backend for the metrics crate, useful for offline or desktop applications to gather metrics that can be easily queried afterwards.
Version 0.4 Notes
- Now works with metrics 0.20.x
- _register!() macros aren't required & don't do anything with this exporter currently
- Unit/description now available via _describe!() macros metrics provides
Version 0.3 Notes
- Now vacuums on setup which can incur a delay in being ready to record
- Migration of database blows away 0.2 data unfortunately
Example
let exporter = new
.expect;
exporter
.install
.expect;
// use metrics macros etc.
gauge!;