Monitor your app's performance
See requests per minute, latency percentiles, error rate and Apdex of your app and of each route, against the window before and per release, with outgoing HTTP calls, database statements and web vitals, each number marked exact or estimated.
Replace project-id with the project's id.
The Performance tab answers how fast your app is and how often it fails: the server's requests per minute, its p50, p95 and p99 latency, its error rate and its Apdex over the window you choose, compared with the window before it; the same per route and per release; the outgoing HTTP calls your app makes; and the page loads and web vitals the browser measured.
Exact and estimated numbers
Every number on the tab is marked Exact or Estimated:
- Exact numbers come from per-minute summaries of every request that your app's processes send (see Send OpenTelemetry data). Summaries from many processes are added up, so the count is every request and the percentiles are those of all of them, at any traffic.
- Estimated numbers are extrapolated from sampled traces: each sampled transaction counts for 1 / its sample rate. A route with few sampled traces has a rough p99.
A route with summaries in the window is exact; a route without is estimated; the two are never mixed. The app's totals are exact only when summaries cover the whole window: for a window that began before your app sent its first summary, the page says so and stays estimated until it does. Page loads and web vitals come from the browser SDK's sampled page loads and are always estimated.
Prerequisites
- Permission for
errors:GetEventson the project. Without it the tab says "You can see this project but not its performance data." - In the console, also
errors:ListProjectson the project to open it (without it the project is not found). - Your app sends transactions (Sentry SDK with
tracesSampleRateabove 0, or OpenTelemetry traces) or per-minute summaries (OpenTelemetry metrics).
Read your app's performance
- Open the project, then the Performance tab.
- Choose the environment and the window (last hour to 90 days) in the bar at the top.
- The tiles show requests per minute, p50, p95, p99, error rate and Apdex, each with its change against the window before. The charts below show requests per minute, p95 and error rate over the window.
- Routes lists every server route; Releases the same numbers per release, to see what a deploy changed; Pages and web vitals each page's LCP, INP, CLS and TTFB at p75, green within Google's good threshold and red past poor; Outgoing HTTP the calls your app makes, grouped by method, host and path, with the routes that make them.
dcloud errors performance get project-id --range 24h
dcloud errors performance list-routes project-id --range 24h
dcloud errors performance list-http project-id --range 24h
dcloud errors performance list-pages project-id --range 24hGET /errors/api/projects/project-id/performance?range=24h/performance/routes, /performance/http and /performance/pages list routes, outgoing calls
and pages the same way. Each number has exact beside it, and sampled: the traces behind an estimate.
Open one route
- On the Performance tab, choose a route.
- The page shows the route's numbers against the window before, its charts, its slowest and its latest failed traces (each opens the trace's waterfall, where a database span links to its statement on the Queries tab), the outgoing calls and database statements it makes, and its numbers per release.
dcloud errors performance get-route project-id --name "GET /api/orders/[id]"GET /errors/api/projects/project-id/performance/route?name=GET%20%2Fapi%2Forders%2F%5Bid%5DApdex
Apdex rates how satisfied people are with response times, from 0 to 1: a request within the project's threshold T satisfies, one within 4 T tolerates, a slower one frustrates; Apdex is (satisfied + tolerating / 2) / all. T is 300 ms for a new project; change it under Settings › Apdex threshold (ms) (10 to 60000). It applies to past windows too.
Alerts
Every project has two alert rules for its server routes, in production, both listed in the organization's daily summary rather than mailed one by one:
- Slow route: a route's p95 over three times the Apdex threshold for 10 minutes, with at least 20 requests.
- Failing route: a route's error rate over 5 % for 10 minutes, with at least 20 requests.
Change, switch off or delete them under Settings › Alert rules, or create your own with the triggers A route gets slow and A route fails often (see Create an alert rule). A rule you delete is not created again.
How requests are counted
- A request fails when it ends with a server error: HTTP 5xx, an exception, or a span status such
as
internal_errororunavailable. A 404 or 401 is the request's answer, not a failure. - Percentiles come from histograms with about 4 % relative error per value.
- A route is the transaction name:
GET /api/orders/[id]from a framework that knows its routes, or the URL with its ids replaced by*(/orders/4810and/orders/4811are/orders/*).