Vantz Stockwell
|
3e8b29f2ee
|
feat: Implement Phase 2 alerting system with anomaly detection
Test Asgard Runner / test (push) Successful in 2s
Proactive monitoring infrastructure for server health:
**Alert Service:**
- Population drop detection (configurable % threshold)
- FPS degradation monitoring (configurable FPS threshold)
- Multi-channel notifications (Discord, Pushbullet, Email)
- Spam prevention (30-min duplicate suppression)
- Severity levels (Info, Warning, Critical)
**Database:**
- alert_config table (thresholds per license)
- alert_history table (event log with metadata)
- 90-day retention with cleanup job
**Integration:**
- Discord/Pushbullet service integration
- Notification config retrieval from public_site_config
- Ready for stats pipeline integration
Purpose: Server admins get alerted when anomalies occur
(population crashes, performance degradation). Configurable
thresholds enable proactive server management.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-02-15 14:28:51 -05:00 |
|