64 lines
951 B
Markdown
64 lines
951 B
Markdown
# Admin Instructions - VoIdea
|
|
|
|
**Date:** 2026-05-10
|
|
|
|
---
|
|
|
|
## Admin Panel
|
|
|
|
Access: /admin
|
|
|
|
### Features
|
|
|
|
1. **Logs Viewer**
|
|
- Filter by type, date, severity
|
|
- Color-coded severity: red (critical), orange (warning)
|
|
- Export logs
|
|
|
|
2. **Agent Control**
|
|
- View agent status
|
|
- Start/stop agents manually
|
|
- View agent reports
|
|
|
|
3. **User Management**
|
|
- View users
|
|
- Manage roles
|
|
- Disable accounts
|
|
|
|
4. **System Health**
|
|
- Database status
|
|
- Redis status
|
|
- Server uptime
|
|
|
|
---
|
|
|
|
## Logs
|
|
|
|
Location: PostgreSQL (system_logs table) + files (logs/)
|
|
|
|
Severity levels:
|
|
- ERROR: Red + email notification
|
|
- WARNING: Orange
|
|
- INFO: No highlight
|
|
|
|
---
|
|
|
|
## Agent Commands
|
|
|
|
- "Run Test" button -> starts QATesterAgent
|
|
- "View Report" -> shows last agent report
|
|
- "Stop Task" -> cancels running agent
|
|
|
|
---
|
|
|
|
## Monitoring
|
|
|
|
Key metrics:
|
|
- API response time: < 500ms
|
|
- Database queries: < 100ms
|
|
- Uptime: > 99.9%
|
|
|
|
---
|
|
|
|
*Updated: 2026-05-10*
|