How bals24/p08-aegis-monitor works
Aegis Monitor is a web observability system: users view a public status page or administer monitoring through Grafana and the FastAPI backend. The backend runs periodic HTTP checks, exposes status and Prometheus metrics, and the documented monitoring stack visualizes metrics and routes alerts back to the API; a local Ollama integration provides incident diagnosis. The tree shows the HTTP probe implementation and API lifecycle, while several integrations and product capabilities are documented but their implementation is not sampled.
Main entry points: main.py FastAPI Backend · monitor.py HTTP Probe Engine · prometheus.yml Prometheus · alertmanager.yml Alertmanager
Components 12
Backend Monitoring
- FastAPI Backend
backend/app/main.py - HTTP Probe Engine
backend/app/probes/monitor.py - Service Settings
backend/app/core/config.py
Metrics And Alerts
- Prometheus
prometheus/prometheus.yml - Alertmanager
prometheus/alertmanager.yml - Alert Rules
prometheus/rules/alerts.yml
User Interfaces
- Public Status PWA
frontend-status/index.html - Grafana Dashboards
grafana/dashboards/aegis-overview.json
External Services
- Monitored Sites
- Ollama LLM
- Keycloak
keycloak/realm-export.json
Other components
- User
Connections 12
- User → Public Status PWA: views status
README.md - User → Grafana Dashboards: administers monitoring
README.md - User → FastAPI Backend: queries API
README.md - FastAPI Backend → HTTP Probe Engine: starts monitor
backend/app/main.py - FastAPI Backend → HTTP Probe Engine: reads status
backend/app/main.py - HTTP Probe Engine → Monitored Sites: checks availability
README.md - HTTP Probe Engine → Prometheus: exposes metrics
README.md - Prometheus → Alertmanager: routes DOWN alerts
README.md - Alertmanager → FastAPI Backend: sends webhook
README.md - Prometheus → Grafana Dashboards: feeds visualization
README.md - FastAPI Backend → Ollama LLM: requests diagnosis
README.md - Ollama LLM → FastAPI Backend: returns RCA
README.md