Dokumentation
Monitoring Runbook
Uptime-Checks, Error-Rates, Key-Metriken und Eskalations-Schritte. Living Document — aktualisiert bei jedem Incident.
System Status: Operational
Automatischer Check via Vercel. Manueller Check: alle Endpoints unten testen.
Health Checks
| Endpoint | Interval | Expected | Critical |
|---|---|---|---|
| / | 5 min | 200 | Yes |
| /api/score | 5 min | 200 | Yes |
| /api/contact | 10 min | 200 | Yes |
| /api/analytics/event | 15 min | 200 | No |
| /api/dashboard/report | 1 h | 200 | No |
| /sitemap.xml | 1 h | 200 | No |
| /robots.txt | 1 h | 200 | No |
Error Thresholds
5xx Rate
⚠️ >1%🔴 >5%Action: Check Vercel logs → restart if persistent
429 Rate (Rate Limit)
⚠️ >2%🔴 >10%Action: Review rate-limit config → increase limits
Response Time (p95)
⚠️ >2s🔴 >5sAction: Check bundle size → review heavy API calls
LCP
⚠️ >2.5s🔴 >4sAction: Optimize images → check CWV dashboard
CLS
⚠️ >0.1🔴 >0.25Action: Review layout shifts → check dynamic content
Free-Check Completion
⚠️ <60%🔴 <40%Action: Review wizard UX → check form errors
Contact Form Submit
⚠️ <30%🔴 <15%Action: Check form validation → Turnstile issues
Escalation Steps
Automated Detection
0–5 min- Vercel monitoring triggers alert
- Error logged to console
- Automatic retry for transient failures
Developer Review
5–15 min- Check Vercel deployment logs
- Review error stack trace
- Verify ENV variables
- Test API endpoint manually
Hotfix
15–30 min- Fix code in main branch
- Push → Vercel auto-deploy
- Verify fix on production
- Monitor error rates for 15 min
Rollback
30–45 min- Vercel: Promote previous deployment
- Verify site stability
- Root-cause analysis
- Schedule proper fix
User Communication
45+ min- Status page update if applicable
- Respond to user reports
- Post-mortem within 24h
- Update runbook with learnings
Key Metrics
Free-Checks / Tag
Source: Analytics
Contact Form Submissions
Source: API logs
Average Profile Score
Source: Free-Check data
Dashboard Active Users
Source: Vercel Analytics
Blog Organic Traffic
Source: Vercel Analytics
Bounce Rate
Source: Vercel Analytics
Uptime (30d)
Source: Vercel
Quick Commands
# Redeploy on Vercel
vercel --prod
# Check build locally
npx next build
# Verify sitemap
curl -s https://spotlight-service.de/sitemap.xml | head -20
# Test free-check API
curl -X POST https://spotlight-service.de/api/score -H "Content-Type: application/json" -d ''