Skip to content

Conversation

@asaadbalum
Copy link
Contributor

@asaadbalum asaadbalum commented Dec 30, 2025

Summary

This PR aligns the dashboard with the vllm-sr Python CLI, implementing both feature alignment (same capabilities) and implementation alignment (same approach).

Feature Alignment

Adds Status and Logs pages that mirror the corresponding CLI commands:

CLI Command Dashboard Page Description
vllm-sr status Status page Shows service health, deployment type, endpoints
vllm-sr logs Logs page Component filtering (Router/Envoy/All), line limits

Status Page Features

  • Overall system health status
  • Per-service health (Router, Envoy)
  • Deployment type detection
  • Endpoint information
  • Auto-refresh option

Logs Page Features

  • Component selection (Router, Envoy, All)
  • Configurable line limit (50, 100, 200, 500)
  • Auto-refresh and auto-scroll options
  • Real-time log streaming

Implementation Alignment

The dashboard now uses the same Docker-based approach as the vllm-sr Python CLI:

  • Docker commands: Uses docker inspect and docker logs directly
  • No Go CLI dependency: Removed dependency on deprecated pkg/cli packages
  • Fallback support: HTTP health checks for non-Docker deployments

This ensures the dashboard remains compatible as the Go CLI is deprecated and the Python CLI becomes the recommended interface.

Changes

Backend (dashboard/backend/)

  • handlers/status.go: New status endpoint using Docker commands
  • handlers/logs.go: New logs endpoint with component filtering
  • router/router.go: Register new API endpoints

Frontend (dashboard/frontend/)

  • pages/StatusPage.tsx: Status display component
  • pages/LogsPage.tsx: Logs display component
  • components/Layout.tsx: Navigation links
  • App.tsx: Route definitions

Fixes #908

@netlify
Copy link

netlify bot commented Dec 30, 2025

Deploy Preview for vllm-semantic-router ready!

Name Link
🔨 Latest commit 0951ea4
🔍 Latest deploy log https://app.netlify.com/projects/vllm-semantic-router/deploys/6954f84cb5b6be0008153d7a
😎 Deploy Preview https://deploy-preview-932--vllm-semantic-router.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@asaadbalum asaadbalum force-pushed the feat/issue-908-align-dashboard-cli branch from d3fab0b to fb2971c Compare December 30, 2025 13:41
@github-actions
Copy link

github-actions bot commented Dec 30, 2025

👥 vLLM Semantic Team Notification

The following members have been identified for the changed files in this PR and have been automatically assigned:

📁 dashboard

Owners: @JaredforReal, @Xunzhuo
Files changed:

  • dashboard/backend/Dockerfile
  • dashboard/backend/go.mod
  • dashboard/backend/handlers/logs.go
  • dashboard/backend/handlers/status.go
  • dashboard/backend/router/router.go
  • dashboard/frontend/src/App.tsx
  • dashboard/frontend/src/components/Layout.tsx
  • dashboard/frontend/src/pages/LandingPage.tsx
  • dashboard/frontend/src/pages/LogsPage.module.css
  • dashboard/frontend/src/pages/LogsPage.tsx
  • dashboard/frontend/src/pages/StatusPage.module.css
  • dashboard/frontend/src/pages/StatusPage.tsx

vLLM

🎉 Thanks for your contributions!

This comment was automatically generated based on the OWNER files in the repository.

@asaadbalum asaadbalum force-pushed the feat/issue-908-align-dashboard-cli branch 2 times, most recently from 92560b1 to c8a8ecd Compare December 31, 2025 10:16
Add Status and Logs pages to the dashboard, aligning both feature set
and implementation approach with the vllm-sr Python CLI:

Feature Alignment:
- Add Status page showing service health and deployment info
- Add Logs page with component filtering (Router/Envoy/All)
- Both pages support auto-refresh and manual refresh

Implementation Alignment:
- Use Docker commands directly (docker inspect, docker logs)
- Same approach as vllm-sr Python CLI uses
- No dependency on deprecated Go CLI packages (pkg/cli)
- Falls back to HTTP health checks for non-Docker deployments

Signed-off-by: asaadbalum <[email protected]>
@asaadbalum asaadbalum force-pushed the feat/issue-908-align-dashboard-cli branch from c8a8ecd to 0951ea4 Compare December 31, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Dashboard] Align Dashboard with vllm-sr CLI

3 participants