How to Track DORA Metrics and SLOs Using Only Cloudflare Workers
A Cloudflare Workers-based approach allows engineering teams to monitor DORA metrics and Service Level Objectives without relying on external tools like Prometheus or third-party observability platforms. The setup logs every API request — including method, route, and status code — into a local database table called api_usage. SQL queries then roll up that data to calculate availability and error rates against a 99.9% uptime SLO, which permits roughly 43 minutes of downtime per 30-day window. Latency is tracked at the p95 and p99 percentiles, with Cloudflare cron triggers automating the rollup and feeding results to a status page. The author recommends starting with three core SLOs — availability, p95 latency, and p99 latency — treating everything beyond that as optional refinement.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in