litellm/ui/litellm-dashboard
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
..
.agents/skills/react-hook-form refactor(ui): drive Lens sample cap and pick clearing through react-hook-form 2026-10-04 20:30:09 -07:00
public feat(lens): add sample previews and improve setup and worker feedback (#44268) 2026-10-02 17:27:13 -07:00
scripts feat(ui): share trace drawer as a closable SidePanel and polish Lens (#44473) 2026-10-04 02:20:14 +00:00
src refactor(tracing): list runs from a narrow span table and ledger the migrations 2026-10-05 06:41:30 -07:00
tests feat(ui): sort Lens runs by column on the server 2026-10-04 17:00:17 -07:00
.env.development
.env.production remove next env 2026-04-18 16:45:32 -07:00
.npmrc chore(build): move the Admin UI toolchain to Node 24 (#35801) 2026-08-04 12:36:07 -07:00
.nvmrc chore(build): move the Admin UI toolchain to Node 24 (#35801) 2026-08-04 12:36:07 -07:00
.prettierignore feat(ui): generate dashboard API types from the proxy OpenAPI spec (#29816) 2026-06-05 17:20:01 -07:00
.prettierrc
AGENTS.md feat(ui): improve trace inspection and ROI estimation (#44351) 2026-10-03 01:18:16 -07:00
build_release_ui.sh
build_ui.sh chore(build): move the Admin UI toolchain to Node 24 (#35801) 2026-08-04 12:36:07 -07:00
build_ui_custom_path.sh chore(build): move the Admin UI toolchain to Node 24 (#35801) 2026-08-04 12:36:07 -07:00
components.json refactor(ui): switch shadcn primitives from Radix to Base UI (#32124) 2026-07-07 09:55:41 -07:00
eslint-budgets.json fix(ui): split the KeyActivityPanel condition chains to bring the lint budget back under its ceiling (#44114) 2026-10-01 18:42:12 -07:00
eslint-suppressions.json refactor(ui): rename view_logs to logs and split request, audit and detail (#44505) 2026-10-04 10:00:49 -07:00
eslint.config.mjs refactor(ui): move TraceView into components/lens/traces (#44501) 2026-10-04 10:00:48 -07:00
knip.json fix(ui): register type-test files as knip entry points 2026-08-10 15:42:09 -07:00
next.config.mjs fix(dashboard): route dev API calls on Accept and fail fast on non-JSON 2xx (#44528) 2026-10-04 17:17:48 -07:00
package-lock.json refactor(lens): storage-independent trace reads, shared keyset pager, typed read failures (#44422) 2026-10-04 12:39:47 -07:00
package.json refactor(lens): storage-independent trace reads, shared keyset pager, typed read failures (#44422) 2026-10-04 12:39:47 -07:00
postcss.config.js feat(ui): shadcn migration foundation: Tailwind v4, shadcn init, antd cascade fix (#31995) 2026-07-02 19:02:27 -07:00
README.md
tsconfig.json test(e2e): move Admin UI Playwright suite to tests/e2e/ui (#34196) 2026-07-22 19:43:10 +00:00
tsconfig.production.json feat(traces): tracing development seed (#44363) 2026-10-03 09:59:51 +00:00
vitest.config.ts test(ui): split the vitest suite into unit, component, integration and type projects (#37488) 2026-08-19 20:40:14 +00:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.