litellm/scripts/trace_codegen/schemas
Yujong Lee 5f6e80371f refactor(tracing): list runs from a narrow span table and ledger the migrations
Restore migrations 0003-0010 and 0001 as shipped; the migration directory is
append-only. Add a schema_migrations ledger so each migration runs once per
database, and re-apply retention TTLs on every start as configuration.

Replace the AggregatingMergeTree trace rollup with spans_core: one narrow row
per span fed by a materialized view, keyed by team, start hour, key, trace and
span, backfilled once from otel_traces. Run lists, counts and the traces view
group over it at read time with the documented earliest-copy dedup rule, and
summarize every span of a candidate run instead of a 24h lookback.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-05 06:41:30 -07:00
..
api feat(tracing): own the query API contract in Rust 2026-10-04 20:57:58 -07:00
traces feat(tracing): own the query API contract in Rust 2026-10-04 20:57:58 -07:00
traces-clickhouse refactor(tracing): list runs from a narrow span table and ledger the migrations 2026-10-05 06:41:30 -07:00