Files
blackroad-os-docs/docs/services/service-prism-console.md
copilot-swe-agent[bot] 702ae7eaea Fix cross-directory link paths and remove incorrect status markers
- Fix relative paths for cross-directory links (../ops/, ../services/, etc.)
- Remove _(planned)_ markers from services that actually exist
- Remove confusing _(reference CONTRIBUTING.md)_ comments
- All links now properly reference correct paths
- Build still passes successfully

Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com>
2025-11-24 16:44:52 +00:00

3.5 KiB

id, title, slug, description, tags, status
id title slug description tags status
services-service-prism-console Service: Prism Console /services/service-prism-console Documentation for the BlackRoad OS Prism Console
services
monitoring
observability
stable

Service: Prism Console

What it does

The Prism Console is the operational command center for BlackRoad OS, providing:

  • Real-time system monitoring
  • Job and agent observability
  • Performance metrics and dashboards
  • Alert management
  • System health visualization

Think of it as the "cockpit" for operating BlackRoad OS. 🛸

Repository

Key Features

  • 📊 Real-time metrics dashboards
  • 🔍 Job and agent search/filtering
  • 📈 Performance trending
  • 🚨 Alert configuration and management
  • 🗺️ System topology visualization
  • 📝 Log aggregation and search

Architecture

flowchart TD
    Console[Prism Console UI] --> API[API Service]
    API --> Metrics[(Metrics DB)]
    API --> Logs[(Log Store)]
    Console --> WS[WebSocket]
    WS --> Events[Real-time Events]

Deployment

The Prism Console is deployed using:

  • Platform: Vercel / Railway
  • Environment Variables: See .env.example in repository
  • Access: Protected by authentication

For deployment procedures, see:

Key Views

System Overview

  • Cluster health status
  • Service availability
  • Active agents count
  • Job queue depth

Agent View

  • Agent inventory
  • Agent status and health
  • Agent memory usage
  • Recent agent activity

Job View

  • Job queue monitoring
  • Job success/failure rates
  • Job execution timeline
  • Failed job analysis

Metrics View

  • Custom dashboards
  • Performance charts
  • Resource utilization
  • SLA tracking

Environment Configuration

Key environment variables:

  • VITE_API_URL or NEXT_PUBLIC_API_URL - API service URL
  • VITE_WS_URL or NEXT_PUBLIC_WS_URL - WebSocket URL
  • AUTH_ENABLED - Enable/disable authentication

⚠️ Security: Prism Console should always be protected in production.

Development

Local development:

# Clone the repository
git clone https://github.com/BlackRoad-OS/blackroad-os-prism-console.git
cd blackroad-os-prism-console

# Install dependencies
npm install

# Set up environment
cp .env.example .env.local
# Edit .env.local

# Run development server
npm run dev

Monitoring Best Practices

Dashboard Setup

  1. Configure key metrics for your use case
  2. Set up alerts for critical thresholds
  3. Create custom views for different teams

Alert Configuration

  • Job failure rate > 10%
  • Queue depth > 1000 jobs
  • Agent availability < 95%
  • API response time > 2s

Troubleshooting

Console not loading data

  • Verify API service is running
  • Check network connectivity
  • Review browser console for errors

Real-time updates not working

  • Verify WebSocket connection
  • Check firewall/proxy settings
  • Review WebSocket server logs

See Also