RVM.HealthGuard
HTTP service health monitoring with incident detection, uptime analytics and SignalR notifications.
Overview
RVM.HealthGuard is a health monitoring and incident management system. It continuously monitors HTTP service endpoints, tracks real-time status, detects incidents (downtime, degradation, timeout) and provides detailed historical analytics. Uses PostgreSQL for persistence, SignalR for real-time notifications and Background Services for automatic endpoint polling.
Features
- HTTP monitoring with configurable intervals and timeouts
- Real-time status tracking: Healthy, Unhealthy, Degraded
- Automatic incident detection: Down, Degraded, Timeout
- Uptime percentage calculation in 24-hour windows
- Average response time analytics
- Real-time notifications via SignalR with service grouping
- HealthCheckWorker as BackgroundService with continuous polling
- Complete audit history of health checks and incidents
- Rate limiting (60 req/min global, 200 req/min per API Key)
Technologies
Patterns & architecture
REST endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/services | List monitored services |
| POST | /api/services | Add service |
| GET | /api/incidents/active | Active incidents |
| GET | /api/status | All services status |
| GET | /api/status/{id}/history | Health check history |