Skip to main content

otelite_storage/
lib.rs

1//! Otelite Storage Layer
2//!
3//! Provides the SQLite-backed implementation of the `StorageBackend` trait.
4//! The trait itself, along with all associated types, is defined in
5//! `otelite-core::storage` so that downstream crates can program against the
6//! abstraction without pulling in a SQLite dependency.
7
8pub mod config;
9pub mod error;
10pub mod sqlite;
11
12pub use config::StorageConfig;
13
14// Re-export the core storage contract so callers who already depend on
15// `otelite-storage` don't need to change their use-paths.
16pub use otelite_core::storage::{
17    PurgeAllStats, PurgeOptions, QueryParams, Result, SignalType, StorageBackend, StorageError,
18    StorageStats,
19};