litellm/litellm-rust
Yujong Lee 180b5ee482 refactor(traces): read traces through a five-method storage port
Trace storage now answers five storage-neutral reads: runs, run_counts,
spans, span_text and calls. Query and row types live in
litellm_traces::store with no ClickHouse encodings, and traces-clickhouse
only adapts them, so another backend implements five queries instead of
one SQL file per UI widget

The runs list, histogram, field values, trace graph, span detail, error
paging and cost lookup all go through the port. Paging, the graph budget,
excerpting and the agent output fallback moved out of SQL into
TraceReader. QueryScope is the only access wire, and every SQL file reads
owned_spans, owned_runs and owned_calls CTEs built from one ownership rule
per table that the console row policy also renders

Cursors are tagged with their kind, and run search terms reach storage as
raw text and globs. This also carries the run histogram and values
endpoints, the gateway-traces router and the agent label rollup
2026-10-04 15:39:45 -07:00
..
.agents/skills/rust-tracing feat(rust): add structured route lifecycle tracing (#43466) 2026-09-27 19:18:58 -07:00
crates refactor(traces): read traces through a five-method storage port 2026-10-04 15:39:45 -07:00
.gitignore feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
AGENTS.md feat(rust): add structured route lifecycle tracing (#43466) 2026-09-27 19:18:58 -07:00
Cargo.lock refactor(traces): read traces through a five-method storage port 2026-10-04 15:39:45 -07:00
Cargo.toml refactor(traces): extract snapshot cache (#44424) 2026-10-03 13:03:30 -07:00
clippy.toml feat(rust): add the MCP gateway (#43470) 2026-09-27 19:37:41 -07:00