Expand description
SQLite-backed telemetry store.
Implements TelemetryStore using an embedded SQLite database.
Persists metrics, events, snapshots, and alert history with
configurable retention policies. Supports time-range queries and
automatic purging of old data.
§Example
ⓘ
let store = SqliteTelemetryStore::open("./dol.db")?;
store.write_metric(sample)?;
let latest = store.latest_metrics()?;Structs§
- Retention
Policy - Retention policy controlling how long historical data is kept.
- Retention
Stats - Statistics about data purged by retention policy.
- Sqlite
Telemetry Store - A
TelemetryStorebacked by an embeddedSQLitedatabase. - Store
Stats - Statistics about the store’s contents.