Live log streaming
The fastest way to see what the Worker is doing is wrangler tail:
This streams real-time logs from all Worker invocations - requests, errors, console output from the Durable Object, and uncaught exceptions.
Stop streaming with Ctrl+C. Logs are also retained for 24 hours in the Cloudflare dashboard under Workers & Pages > superbox-executor > Logs.
Filtering logs
Workers Analytics dashboard
- Open dash.cloudflare.com
- Navigate to Workers & Pages > superbox-executor
- Open the Metrics tab
Key metrics available:
Durable Object metrics
Durable Object metrics are under Workers & Pages > superbox-executor > Durable Objects:
R2 request metrics
Under R2 > superbox-mcp-registry > Metrics:
Alerting
Configure alerts in Notifications (Cloudflare dashboard > Notifications):
- Worker error rate spike - triggers when error rate exceeds a threshold
- Worker CPU time exceeded - triggers on high compute cost per invocation
For critical alerts, use Cloudflare’s webhook notifications to send to Slack or PagerDuty.
Debugging a failed request
- Get the
cf-ray header from the failed response
- Search for it in
wrangler tail output or the Logs tab in the dashboard
- Identify the error type:
R2Error - R2 bucket access issue (check credentials)
DO error - Durable Object exception (check server code)
401 - Invalid or missing Firebase JWT
504 - Worker CPU time limit exceeded (30 ms burst limit on free tier)