Expand description
Durable embedded SQLite metrics and events storage.
Enable with the spectra feature sqlite and wire through Spectra::builder().
SqliteMetricsBackend::new/SqliteEventsBackend::new— open or create database files- Parent directories are created automatically; uses
spawn_blockingfor rusqlite I/O. query_aggregateis not yet implemented (returns empty series).- Default event query limit is 1000 rows when
limitis unset.
Structs§
- Sqlite
Events Backend - Durable SQLite structured-event storage in the
spectra_eventstable. - Sqlite
Metrics Backend - Durable SQLite metrics storage in the
spectra_metricstable.