How vamshikrishna-117/incidentiq works
IncidentIQ is a real-time incident command center for SRE and DevOps teams. Operators browse and triage incidents, create or update records, and inspect a live incident timeline; they can then request AI analysis and follow recommended actions. Supabase provides persistence, authentication, realtime updates, and attachment storage, while configurable AI providers supply analysis with a rule-based fallback. The graph includes documented analytics, infrastructure health, settings, and demo/auth capabilities. Some page implementations were not sampled, so those branches are shown only at the level supported by the README and tree.
Main entry points: use-incidents.ts Incident queries and mutations · ai.ts AI analysis engine · page.tsx Incident management · route.ts Incident API
Components 24
Operator experience
- Dashboard and triage
src/app/page.tsx - Incident management
src/app/dashboard/page.tsx - Incident analytics
src/app/analytics/page.tsx - Service health
src/app/infrastructure/page.tsx - Configuration
src/app/settings/page.tsx
Incident workflow
- Incident timeline
src/app/incidents/[id]/page.tsx - Timeline updates
src/components/incident-detail/update-composer.tsx - Incident queries and mutations
src/hooks/use-incidents.ts - Incident API
src/app/api/incidents/route.ts - Incident update API
src/app/api/incidents/[id]/updates/route.ts
Analysis and operations
- AI analysis endpoint
src/app/api/incidents/[id]/ai/route.ts - AI analysis engine
src/lib/ai.ts - Rule-based fallback
src/lib/ai-fallback.ts - Attachment upload
src/app/api/upload/route.ts - Realtime subscriptions
src/hooks/use-supabase-realtime.ts
Data and identity
- Authentication
src/app/(auth)/login/page.tsx - Auth state
src/stores/auth-store.ts - Browser client
src/lib/supabase/client.ts - Server client
src/lib/supabase/server.ts - Supabase database
- Supabase Storage
Other components
- SRE operator
- Groq provider
- Gemini provider
Connections 31
- SRE operator → Dashboard and triage: opens
README.md - SRE operator → Incident management: triages
README.md - SRE operator → Incident timeline: reviews
README.md - SRE operator → Incident analytics: reviews trends
README.md - SRE operator → Service health: checks health
README.md - SRE operator → Configuration: configures
README.md - SRE operator → Authentication: signs in
README.md - Authentication → Auth state: sets identity
- Incident management → Incident queries and mutations: queries and updates
src/app/dashboard/page.tsx - Dashboard and triage → Incident queries and mutations: loads incidents
src/app/page.tsx - Incident timeline → Incident queries and mutations: loads timeline
- Timeline updates → Incident queries and mutations: posts updates
src/components/incident-detail/update-composer.tsx - Incident queries and mutations → Browser client: reads and writes
src/hooks/use-incidents.ts - Incident queries and mutations → Supabase database: queries records
README.md - Incident management → Incident API: creates incidents
README.md - Incident API → Server client: creates client
src/app/api/incidents/route.ts - Incident API → Supabase database: reads and inserts
src/app/api/incidents/route.ts - Incident update API → Supabase database: stores updates
README.md - SRE operator → AI analysis endpoint: requests analysis
README.md - AI analysis endpoint → AI analysis engine: generates analysis
src/app/api/incidents/[id]/ai/route.ts - AI analysis engine → Groq provider: calls provider
src/lib/ai.ts - AI analysis engine → Gemini provider: calls provider
src/lib/ai.ts - AI analysis engine → Rule-based fallback: falls back to
src/lib/ai.ts - AI analysis endpoint → Supabase database: stores results
README.md - SRE operator → Attachment upload: uploads files
README.md - Attachment upload → Supabase Storage: streams attachments
README.md - Realtime subscriptions → Browser client: subscribes through
src/hooks/use-supabase-realtime.ts - Realtime subscriptions → Supabase database: receives broadcasts
README.md - Incident analytics → Browser client: queries metrics
src/app/analytics/page.tsx - Service health → Supabase database: reads service health
- Configuration → Supabase database: reads configuration