Hashtag Rotator Observability
“You’re not just debugging — you’re building civic observability with global reach.”
๐ฅ Crash Tracing Guide
To view live crashes and trace 500 errors:
- Open your Vercel dashboard
- Go to Logs → Filter by
Function,Level, andStatus: 500 - Look for
EDGE_FUNCTION_INVOCATION_FAILEDor missing environment variables
๐งช Endpoint Testing Suite
GET /api/health → { status: "ok", edgeRegion: "iad1" } GET /api/cron → { message: "Cron ran successfully" } GET /api/trends?region=ke → [ "#KenyaElections2025", "#JusticeForYouth" ] GET /kenya-trends → Geo-routed rewrite (KE IP → Kenya trends) ๐ Recent Edge Activity
- sfo10 – San Francisco, USA
- cpt10 – Cape Town, South Africa
- fra10 – Frankfurt, Germany
- lhr10 – London, United Kingdom
- iad10 – Washington, D.C., USA
Even failed requests (500 errors) get counted by edge regions. They show up in logs and observability graphs — proving public reach even during errors.
No comments:
Post a Comment