Dashboard Ops Center
The Dashboard Ops Center is ValkyrAI's comprehensive operations monitoring solution, providing real-time insights into system health, API object statistics, and workflow performance. Built with a world-class interface matching the CRM design standards, it consolidates all operational monitoring into a unified, elegant dashboard.
Features
🎯 Real-Time API Object Statistics
- Accurate Counts: Live statistics for all API entities (Workflows, Tasks, Principals, etc.)
- User Preferences: Customizable monitoring - select which objects to watch
- Auto-Refresh: Updates every 30 seconds with manual refresh capability
- Error Handling: Clear error reporting and recovery mechanisms
📊 Multi-View Dashboard
- Overview: Object statistics and system health at a glance
- Workflow Metrics: Detailed workflow performance and execution statistics
- System Operations: Actuator-based system monitoring and health checks
🎨 Professional Design
- LCARS-Style Interface: Consistent with ValkyrAI design language
- Responsive Layout: 3D workflow viewer on right, controls and data on left
- Interactive Elements: Configurable widgets and real-time updates
- Visual Indicators: Color-coded status and error reporting
Architecture
Backend Components
Statistics Controller
Location: valkyrai/src/main/java/com/valkyrlabs/valkyrai/controller/StatisticsController.java
Provides REST endpoints for table statistics:
GET /v1/statistics/tables- All table statisticsGET /v1/statistics/tables/{entityName}- Specific entity statisticsGET /v1/statistics/summary- Summary statistics
Enhanced Repository Template
Location: valkyrai/src/main/resources/templates/JavaSpring/repository.mustache
All generated repositories now include:
countAll{EntityName}()- Get total record countgetTableSize()- Default table size implementationgetTableName()- Table name for reportinggetEntityName()- Entity name for statistics
Frontend Components
ObjectStatsPanel
Location: web/typescript/valkyr_labs_com/src/components/ObjectStatsPanel/index.tsx
Features:
- Real-time API statistics fetching
- User preference management with localStorage persistence
- Configurable entity monitoring
- Error handling and retry logic
- Modal configuration interface
DashboardTab
Location: web/typescript/valkyr_labs_com/src/components/Dashboard/tabs/DashboardTab.tsx
Consolidated dashboard featuring:
- Tabbed navigation (Overview, Workflow Metrics, System Operations)
- 3D workflow viewer integration
- Professional LCARS styling
- Responsive multi-column layout
Usage
Accessing the Dashboard
Navigate to /dashboard-ops in your ValkyrAI application to access the Dashboard Ops Center.
Configuring Monitored Objects
- Click the gear (⚙️) icon in the API Object Statistics panel
- Select/deselect entities you want to monitor
- Changes are automatically saved to localStorage
- Preferences persist across browser sessions