.langsight.yaml.
SQLite (default)
Zero setup. Data stored in~/.langsight/data.db.
langsight costs command (no span tables), no concurrent API access.
PostgreSQL
For team deployments and the REST API.langsight costs (tool call spans need ClickHouse).
ClickHouse
For production scale — required for tool reliability metrics and cost attribution.langsight costs, reliability analytics, OTLP ingestion at scale.
Start ClickHouse with:
Migration path
StorageBackend protocol ensures all three behave identically from the CLI and API’s perspective.