Expand description
Storage abstraction layer for LLMTrace
Provides storage backends for persisting traces, metadata, and cache.
The primary backend is SQLite (via sqlx), with in-memory backends for testing.
Use StorageProfile to build a complete Storage composite from a
configuration profile.
Modules§
- migration
- Database migration management with versioned schemas.
Structs§
- InMemory
Cache Layer - In-memory cache backed by
DashMapwith TTL expiry. - InMemory
Metadata Repository - In-memory metadata repository for testing.
- InMemory
Trace Repository - In-memory trace repository for testing.
- Sqlite
Metadata Repository - SQLite-backed metadata repository for tenants, configurations, and audit events.
- Sqlite
Trace Repository - SQLite-backed trace repository.
Enums§
- Storage
Profile - Storage configuration profile.