How varunleo69-cloud/sentinelops works
SentinelOps is a local Docker-based self-healing application platform. Users view the dashboard and can inspect health and metrics or simulate and restore failures; the recovery monitor checks health and requests a container restart after repeated failures, while Docker restart policies cover process crashes. Prometheus and Grafana provide a separate metrics-visualization branch. The README documents service wiring and capabilities; source excerpts show Flask routes, dashboard requests, and recovery behavior. Compose and Prometheus configuration were not excerpted, so their detailed wiring is represented only where documented.
Main entry points: app.py Flask Service · docker-compose.yml Service Orchestration · script.js Dashboard Logic · recovery_monitor.py Recovery Monitor
Components 14
Operations Dashboard
- Dashboard Page
app/templates/index.html - Dashboard Logic
app/static/js/script.js - Dashboard Styles
app/static/css/style.css
Flask Application
- Flask Service
app/app.py - Health Endpoint
app/app.py - Failure Controls
app/app.py - Metrics Endpoint
app/app.py
Metrics Monitoring
- Prometheus
monitoring/prometheus.yml - Grafana
docker-compose.yml
Recovery
- Recovery Monitor
monitoring/recovery_monitor.py - Docker API
monitoring/recovery_monitor.py - Docker Engine
Other components
- Operator
- Service Orchestration
docker-compose.yml
Connections 18
- Operator → Dashboard Page: views
README.md - Dashboard Page → Flask Service: served by
app/app.py - Flask Service → Dashboard Page: renders
app/app.py - Dashboard Logic → Health Endpoint: requests health
app/static/js/script.js - Dashboard Logic → Metrics Endpoint: requests metrics
app/static/js/script.js - Dashboard Logic → Failure Controls: sends actions
app/static/js/script.js - Operator → Dashboard Logic: uses controls
README.md - Service Orchestration → Flask Service: runs service
README.md - Service Orchestration → Prometheus: runs service
README.md - Service Orchestration → Grafana: runs service
README.md - Service Orchestration → Recovery Monitor: runs service
README.md - Prometheus → Metrics Endpoint: scrapes metrics
README.md - Grafana → Prometheus: visualizes metrics
README.md - Recovery Monitor → Health Endpoint: checks health
monitoring/recovery_monitor.py - Recovery Monitor → Docker API: requests restart
monitoring/recovery_monitor.py - Docker API → Docker Engine: controls containers
- Docker Engine → Flask Service: restarts container
README.md - Docker Engine → Flask Service: restart policy
README.md