diff --git a/README.md b/README.md index 502ef8a..0b2d1bc 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,31 @@ flowchart LR - **Operable** — Flyway migrations, health/readiness, Prometheus metrics, tracing, structured logs, an admin audit trail and an OpenAPI spec. +## Screenshots + +The console that ships alongside the gateway ([an1ndra/path-admin](https://github.com/an1ndra/path-admin)), +shown against example data. + +**Dashboard** — requests, spend, cache hit rate, latency percentiles, per-provider circuits +and recent failures for the selected window. + +Path dashboard: requests, spend, cache, latency, providers and recent failures + +**Routes** — every public model id mapped to an upstream provider and price, with its +cache and state, so fallback chains are visible in one table. + +Path routes: public model to provider mapping with prices and state + +**Usage** — every stored request, filterable by key, end user and window, priced per call +and exportable as CSV. + +Path usage: stored requests with tokens, cost, latency and status + +**Security** — recent calls with the key, client address and user agent that made them, so +a key can be traced to the machines using it. + +Path security: recent calls with key, client IP, user agent and request id + ## Install on Kubernetes ```bash diff --git a/docs/ADMIN-UI.md b/docs/ADMIN-UI.md index 3d0f8cf..0f3511c 100644 --- a/docs/ADMIN-UI.md +++ b/docs/ADMIN-UI.md @@ -2,7 +2,8 @@ There is no UI in this repository: the gateway is a single Java process and stays that way. The admin console lives in its own repository, [an1ndra/path-admin](https://github.com/an1ndra/path-admin) -(Vite + React, served as static files). +(Vite + React, served as static files). The [README](../README.md#screenshots) carries four +screenshots of it against example data. ## What it covers diff --git a/docs/screenshots/dashboard.webp b/docs/screenshots/dashboard.webp new file mode 100644 index 0000000..db76aaa Binary files /dev/null and b/docs/screenshots/dashboard.webp differ diff --git a/docs/screenshots/routes.webp b/docs/screenshots/routes.webp new file mode 100644 index 0000000..dfcb959 Binary files /dev/null and b/docs/screenshots/routes.webp differ diff --git a/docs/screenshots/security.webp b/docs/screenshots/security.webp new file mode 100644 index 0000000..e1fa6da Binary files /dev/null and b/docs/screenshots/security.webp differ diff --git a/docs/screenshots/usage.webp b/docs/screenshots/usage.webp new file mode 100644 index 0000000..bdd1759 Binary files /dev/null and b/docs/screenshots/usage.webp differ