Python SDK 0.7 · Node SDK 0.5 · Open source

API monitoring that tells you what broke — and which deploy did it

One line in your Python or Node.js app, or plain OpenTelemetry from anything else. Reqly gives you real latency percentiles and error rates per route, alerts that name the release, host and clients behind a problem, SLOs, and answers to “why did /orders start failing?” — self-hosted on your own Postgres.

Pythonreqly.instrument(app, service_name="checkout-api")
Nodeapp.use(reqlyExpress({ serviceName: "checkout-api" }))
p50 · p95 · p99
Real percentiles at every level, from mergeable sketches
~6–33 µs
Added per request by the SDKs, measured in CI
Any stack
Python, Node.js, edge runtimes, OpenTelemetry from Go, Java, .NET… or just your proxy's logs
1 command
docker compose up — your data, your Postgres

Everything you need. Nothing you don't.

Native SDKs for Python and Node.js, OpenTelemetry for everything else — not a generic agent with a per-host bill. Read the docs →

One line of instrumentation
No decorators, no manual spans. Routes are recorded as templates (/users/{id}), never raw paths. The release is picked up from your CI or host automatically.
import reqly app = FastAPI() # or Flask, Starlette, Litestar reqly.instrument(app, service_name="checkout-api") # Django: add "reqly.integrations.django.ReqlyMiddleware" # any WSGI/ASGI app: reqly.instrument_wsgi(app, route_resolver=...)
Fail-open and cheap
SDK errors never reach your app, and a dead collector adds no latency.
  • Shipping in the background, batched
  • Bounded queue; retries 408 / 429 / 5xx
  • ~6–33 µs per request, benchmarked
  • No request bodies, query strings or headers
Percentiles that are right
Per-route sketches merge exactly across routes and time, so a 7-day service p95 is a real p95 — not the max of per-minute ones.
p50
42ms
p95
187ms
p99
312ms
Deploy-aware alerts
Hourly checks against each route's weekday × hour baseline, 401/403 waves included — with the release, the host, the clients and the traces behind it. Slack, Discord, Teams, PagerDuty, Opsgenie or email; acknowledge or mute from the dashboard.
0.8%
error rate · /checkout · last hour
Ask Reqly + weekly AI report
Statistics find the anomalies; the LLM only explains them. Ask questions in plain English and get answers from your own data — every query shown, every number checked.
"route": "/orders", "observed_error_rate": 0.300, "baseline_error_rate": 0.022, "release": "v2", "top_host": "pod-3", "z_score": 5.37
“/orders failed 30% of requests on Friday afternoon against a usual 2.2%, starting with release v2 — and every error came from pod-3.”
No LLM configured? Reports fall back to a plain statistical summary.
SLOs and error budgets
Availability or latency objectives per service or route, with fast and slow burn-rate alerts from the Google SRE workbook.
/checkout · 99.5%64% budget left
OpenAPI drift
Upload your spec (or let FastAPI push it) and see where it and real traffic disagree.
undocPOST /internal/refund
unusedGET /v1/legacy/export
deprecatedGET /v1/orders · 3 clients
API consumers
Who is calling, from an API-key header or your own logic — hashed in the SDK, so keys never leave your app. See who an incident hit.
LLM cost per route
Wrap your OpenAI or Anthropic client once; see tokens and cost per route, model and day — and get an alert when a route's cost jumps, with what drove it.
Projects, keys, sign-in
Share one collector between teams: a project each, scoped API keys, members who only see their services.

Knows what changed

Every anomaly comes with the release that was running and where the errors are concentrated — computed from your data, not guessed by a model. How alerts work →

Deploy-aware
Every event carries its release (from GITHUB_SHA, RENDER_GIT_COMMIT, …). Regressions show the release they started on, with before → after numbers.
Seasonal baseline
Each hour is compared with the same weekday-hour over 8 weeks. One alert per route, reminders while it fires, a resolve message when it's over.
Root-cause leads
Errors concentrated on one host, environment, status code or error type relative to its traffic share — surfaced in alerts and reports, with the traces to open.
Who it hit
With consumer tracking on, each alert lists the API clients affected, so you know who to tell before they tell you.
#alerts — example from the demo data
🔴 Anomaly — flask-demo /orders (Friday 15:00-16:00 UTC, z=5.37)
• error rate 30.0% vs 2.2% usual · p95 6588ms vs 1576ms usual
• running release v2 — vs v1: errors 2.6% → 33.1%, p95 2072ms → 4501ms
• 100% of errors came from host pod-3, which served 23% of requests

Ask why, in plain English

Not text-to-SQL: the model can only call nine read-only query tools, and its answer is checked against what they returned. Ask Reqly docs →

Answers you can verify

Ask about one service — latency, errors, releases, alerts, SLOs, drift, consumers or LLM cost. The dashboard shows each query the model ran next to the answer.

  1. 1You ask a question about a service
  2. 2The model picks from 9 read-only tools — at most 6 calls
  3. 3Tools return rounded aggregates, never raw events or SQL
  4. 4Every number in the answer is matched against the tool results; anything unmatched is flagged
Why did /orders start failing on Friday?
Errors on /orders rose to 30.0% between 15:00 and 16:00 UTC, against a usual 2.2%. Release v2 was running — compared with v1, errors went from 2.6% to 33.1% — and all of them came from host pod-3, which served 23% of the traffic.
get_alertscompare_periodslist_releasesget_breakdown
Illustrative answer, using the numbers from the demo alert above.

How data flows

Every component is yours — no phone-home, no shared infrastructure. Self-hosting guide →

data flow
[Python app + reqly]      ──►  POST /v1/ingest       (batched, background)
[Node app + reqly-node]   ──►  POST /v1/ingest
[Any app + OpenTelemetry] ──►  POST /otlp/v1/traces   (protobuf / JSON)
                                 │  X-Reqly-Key: ingest key or project key (rqk_…)
                   [Collector — FastAPI + asyncpg]
                                 │  validate · bulk insert · rate limit
                   [TimescaleDB + Toolkit]
                    ├── request_events            (hypertable · 14-day retention)
                    └── continuous aggregates:
                         ├── api_latency_1min          (mergeable latency sketches)
                         ├── route_errors_1hour        (errors per route-hour)
                         ├── route_status_distribution_1hour
                         ├── consumer_usage_1hour      (who is calling)
                         └── llm_usage_1hour           (tokens per route & model)
                                 │
          ┌──────────────────────┼───────────────────────┐
    [Dashboard]            [Scheduler]             [Ask Reqly]
  React 19 · sign-in      hourly alerts · SLO      9 read-only tools
  settings · projects     burn rates · weekly      → LLM → verified
  GET /v1/metrics/*       report → Slack, Teams…   answer

← swipe to see the whole diagram →

Measured, not claimed

Time each SDK adds to a request (p50), same app with and without Reqly, consumer tracking on and the shipper running. Rerun in CI on every SDK change.

Python · reqly 0.7
FastAPI
~13 µs
Starlette
~15 µs
Flask
~33 µs
Node.js · reqly-node 0.5
Fastify
~10 µs
Hono
~6 µs
Express
~27 µs

For scale: one round trip on a local network is usually 100–500 µs. How it's measured →

Deliberate technology choices

Every layer has a reason. No bloat, no magic.

LayerTechnology & reason
SDKsPython 3.9+ — pure ASGI/WSGI middleware, httpx, background thread, a CLI · Node.js 20+ — TypeScript, zero dependencies, ESM + CJS, and a web-APIs-only edge build for Workers and Vercel · OTLP/HTTP or proxy access logs for everything else
CollectorFastAPI · asyncpg · APScheduler · Pydantic v2 · argon2 — async throughout, no ORM; native ingest (gzip, one bulk insert per batch) plus an OTLP receiver; Prometheus metrics and JSON logs for itself
DatabaseTimescaleDB (pg16, Toolkit) — hypertables, continuous aggregates, UddSketch percentiles
DashboardReact 19 · Vite · TypeScript · Tailwind CSS 4 · Recharts · TanStack Query
AIAny OpenAI-compatible API (Groq, OpenAI, OpenRouter, Ollama) · gpt-oss-120b by default, with tool calling — statistics first, the LLM explains and answers only from query results
InfraDocker Compose · Helm chart · prebuilt images on GHCR (amd64 + arm64), including an all-in-one collector + dashboard · PyPI and npm trusted publishing · CI with lint, type checks and an end-to-end test

See Reqly in the wild

EventFlow — a real Flask event-management app — is instrumented with Reqly. The dashboard is public; use EventFlow to make some traffic and watch it arrive.

Live dashboard Try EventFlow EventFlow source

EventFlow login: admin@eventhub.com / Admin@123.