How vijay18-amoga/openai-status-tracker works
OpenAI Status Tracker polls the public Statuspage API, detects incident-update IDs not previously seen in memory, and prints changed incidents. Users can run this loop directly in the console or use Django server mode, where app startup launches a background scheduler; the browser page reports the in-memory incident count. The graph captures both entry modes and the documented web route. Storage is in-memory for update tracking; the SQLite database is configured by Django but is not part of the shown monitoring workflow.
Main entry points: monitor.py Update monitor · fetcher.py Incident fetcher · run_tracker.py Console runner · scheduler.py Polling scheduler
Components 12
Incident monitoring
- Update monitor
tracker/monitor.py - Seen updates
tracker/monitor.py - Incident fetcher
tracker/fetcher.py
Run modes
- Console runner
run_tracker.py - Polling scheduler
tracker/scheduler.py - Django app startup
tracker/apps.py
Django status page
- Project URL routes
status_tracker/urls.py - Tracker URL routes
tracker/urls.py - Status page view
tracker/views.py
Other components
- Console operator
- Browser user
- OpenAI Status API
Connections 12
- Console operator → Console runner: starts
README.md - Console runner → Update monitor: calls
run_tracker.py - Update monitor → Incident fetcher: fetches
tracker/monitor.py - Incident fetcher → OpenAI Status API: requests incidents
tracker/fetcher.py - Update monitor → Seen updates: compares and updates
tracker/monitor.py - Update monitor → Console operator: prints updates
README.md - Django app startup → Polling scheduler: starts
tracker/apps.py - Polling scheduler → Update monitor: calls periodically
tracker/scheduler.py - Browser user → Project URL routes: requests page
status_tracker/urls.py - Project URL routes → Tracker URL routes: includes
status_tracker/urls.py - Tracker URL routes → Status page view: routes to
tracker/urls.py - Status page view → Seen updates: reads count
tracker/views.py