mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-09 22:35:54 -05:00
Add new admin diagnostics page to improve on-call diagnostics with the following features: Backend changes: - Add ExecutionDiagnosticsResponse and AgentDiagnosticsResponse models - Create diagnostics_admin_routes.py with endpoints for: - /admin/diagnostics/executions - Get running, queued (DB), and queued (RabbitMQ) execution counts - /admin/diagnostics/agents - Get total agents, active agents, and agents with active executions - Register new diagnostics routes in rest_api.py - Use Prisma for database queries and direct RabbitMQ connection for queue depth Frontend changes: - Add new /admin/diagnostics page with real-time metrics display - Create DiagnosticsContent component with auto-refresh capability - Add diagnostic metrics cards for: - Running executions - Queued executions (database) - Queued executions (RabbitMQ) - Total agents - Active agents - Agents with active executions - Add "System Diagnostics" link to admin navigation sidebar - Update TypeScript types for new API responses This improves on-call diagnostics by providing visibility into: - System load (running executions) - Queue backlog (DB vs RabbitMQ comparison) - Agent activity levels 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>