You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dashboard/README.md
+91-56Lines changed: 91 additions & 56 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Semantic Router Modern Dashboard
1
+
# Semantic Router Dashboard
2
2
3
3
Unified dashboard that brings together Configuration Management, an Interactive Playground, and Real-time Monitoring & Observability. It provides a single entry point across local, Docker Compose, and Kubernetes deployments.
4
4
@@ -12,16 +12,15 @@ Unified dashboard that brings together Configuration Management, an Interactive
- Local observability in `docker-compose.obs.yml` (host network)
15
+
- Docker Compose services in `deploy/docker-compose/docker-compose.yml` (Prometheus 9090, Grafana 3000)
16
+
- Local observability in `tools/observability/docker-compose.obs.yml` (host network)
17
17
- K8s manifests under `deploy/kubernetes/observability/{prometheus,grafana}`
18
18
- Provisioned datasource and dashboard in `tools/observability/`
19
19
- Router metrics and API
20
20
- Metrics at `:9190/metrics` (Prometheus format)
21
21
- Classification API on `:8080` with endpoints like `GET /api/v1`, `GET /config/classification`
22
22
- Open WebUI integration
23
23
- Pipe in `tools/openwebui-pipe/vllm_semantic_router_pipe.py`
24
-
- Doc in `website/docs/tutorials/observability/open-webui-integration.md`
25
24
26
25
These are sufficient to embed and proxy—no need to duplicate core functionality.
27
26
@@ -38,8 +37,9 @@ Modern SPA built with:
38
37
39
38
Pages:
40
39
40
+
-**Landing** (`/`): Intro landing with animated terminal demo and quick links
41
41
-**Monitoring** (`/monitoring`): Grafana dashboard embedding with custom path input
42
-
-**Config** (`/config`): Real-time configuration viewer with multiple endpoints
42
+
-**Config** (`/config`): Real-time configuration viewer with non-persistent edit demo (see note)
43
43
-**Playground** (`/playground`): Open WebUI interface for testing
44
44
45
45
Features:
@@ -49,6 +49,13 @@ Features:
49
49
- ⚡ Fast navigation with React Router
50
50
- 🎨 Modern UI inspired by vLLM website design
51
51
52
+
Config edit demo (frontend only):
53
+
54
+
- The Config page includes edit/add modals to showcase how configuration could be managed.
55
+
- Current backend is read-only for config: it exposes `GET /api/router/config/all` only.
56
+
- Demo save targets `POST /api/router/config/update` (not implemented by default). You can wire this endpoint in the backend to persist changes, or keep the edits as a UI mock.
57
+
- Tools DB panel attempts to load `/api/tools-db` for `tools_db.json`. Add a backend route or static file handler to serve this if you want it live.
58
+
52
59
### Backend (Go HTTP Server)
53
60
54
61
- Serves static frontend (Vite production build)
@@ -58,6 +65,7 @@ Features:
58
65
-`GET /embedded/openwebui/*` → Open WebUI (optional)
59
66
-`GET /api/router/*` → Router Classification API (`:8080`)
-`TARGET_OPENWEBUI_URL` (optional; enable playground tab only if present)
111
-
-`ALLOW_IFRAME_EMBED` (default: true; backend will remove/override frame-busting headers)
119
+
Note: The backend already adjusts frame-busting headers (X-Frame-Options/CSP) to allow embedding from the dashboard origin; no extra env flag is required.
112
120
113
121
Recommended upstream settings for embedding:
114
122
@@ -117,16 +125,16 @@ Recommended upstream settings for embedding:
0 commit comments