Skip to content

Traffic Analytics

Traffic analytics counts the requests that reach your domains through the Reoclo managed proxy: how many, how fast, and how many failed. The runner on your server reads the proxy’s request lines and adds them up minute by minute. Only the counts leave your server. The request lines themselves are never sent to Reoclo unless you also turn on access logs for that domain.

Traffic analytics is on by default for every domain served by the managed proxy. You can turn it off for any domain.

The Topology page shows traffic in its Traffic view: one lane per service, with the domains that reach it on the left and the services it depends on on the right. Each service shows requests per second, the share of requests that failed with a 5xx status, and the 95th percentile response time. The width of the line from a domain to its service follows its request rate; the line turns amber above 1% errors and red above 5%.

Select a service or a domain to open its side panel. The Traffic tab lists its busiest routes, which you can sort by requests, errors, p95 or bytes sent.

The range picker beside the view switch offers 15m, 1h, 6h, 24h and 7d. The range you pick is kept in the page address, so a copied link opens the same view. The numbers refresh every 30 seconds for ranges up to one hour and every 5 minutes for longer ones. The 7 day view reads the hourly counts, so it can trail the live traffic by up to an hour.

Each service shows how its request count changed against the previous period, which is the window of the same length right before the one you are looking at. It reads “up 40%”, “down 12%”, or “new” when the service had no requests before. The side panel shows the same figure beside the request count. Nothing is shown when both periods hold fewer than 20 requests, because a percentage on a handful of requests says little.

Deploys appear as ticks on the request graph in the side panel and, where there is room, on each service: blue for a deploy that succeeded, red for one that failed and amber for one that was rolled back. Hover a tick to see the commit. Each application shows its 50 most recent deploys in the range at most.

Every application and every domain has a Traffic tab, next to Overview. Pick a range from 15 minutes to 90 days. The tab shows:

  • Headline numbers for the range: requests, error rate, p95 response time and bytes sent, each compared with the period just before it, so the 24 hour view compares with the previous 24 hours. The comparison is hidden when both periods have fewer than 20 requests, and reads new when the previous period had none.
  • Charts of requests by status class (2xx, 3xx, 4xx, 5xx), the 5xx error rate, response time at p50, p95 and p99, and bytes sent. Dashed lines mark deploys that finished in the range: green for a successful deploy, red for a failed one and amber for a rollback. The deploys are listed under the charts with their commit.
  • Routes, sortable by requests, errors, p95 and bytes, each with a small trend line. Select a route to chart that route on its own; All routes goes back.
  • Breakdowns of status codes, referring sites, countries and upstream containers. Countries appear only when Cloudflare proxies the domain. The upstream split shows traffic moving from blue to green during a deploy.

An application with a routed domain also shows a Traffic strip on its Overview: requests per second, error rate and p95 for the last hour, with a link to the tab.

When the tab has nothing to show, it says why: traffic analytics is off for the domain, the server has no managed proxy, the server’s runner is too old to count traffic, no domain routes to the application, or no request has arrived in the range yet. The upstream and country breakdowns come from the per-minute counts, which are kept for 14 days, so in the 30 and 90 day ranges they cover the last 14 days only.

The Topology page can also show which services talk to each other. The runner on a server samples the established TCP connections of its containers once a minute and counts them per pair of services. Only counts leave your server. Nothing from inside a connection is read, and a destination on the public internet is folded into one Internet node with no address kept.

Each line from a service to something it depends on has one of three styles:

LineMeaning
SolidObserved. The runner saw a connection between the two in the range.
DashedIdle. The connection is declared, the server is sampled, and none was seen in the range.
Dotted amberUndeclared. The runner saw a connection that nobody declared. A destination that no container owns appears as its own node, labelled with its ip:port or Internet.

A connection declared on a server that is not sampled keeps its plain line, and a note above the lanes reads “Connections not observed on server”. The side panel’s Connections tab lists each connection with its state and, when it was seen, the most connections open at once and how many samples saw it.

Sampling can miss a connection that opens and closes between two samples, so the counts are a lower bound. Read observed as “seen”, never as “all of it”. Containers on the host network are not sampled, and neither are servers that hide other processes’ network state from the runner; both show as not observed. Observed connections are kept for 7 days, so the 30 and 90 day ranges draw connection lines from the last 7 days only.

  • The domain is served by the Reoclo managed proxy on its server. Servers with an external proxy or no proxy appear on the Topology page without numbers.
  • The server’s runner is recent enough to record traffic. When it is not, the domain’s Traffic and logs card and the Topology page both say “Update the runner on server to record traffic.” Update the runner from the server’s page.

Redirect domains, preview domains and domains in maintenance are not counted. A domain that is being relocated is counted on whichever server receives the request.

For each domain, every minute:

  • requests, split into visitors, bots and Reoclo checks (see Clients)
  • responses per status code
  • response time, both in total and for your container alone
  • bytes sent and received
  • page loads, counted from requests the browser made as a document
  • requests for static files such as scripts, stylesheets and images
  • requests per container, so you can see traffic move from blue to green during a deploy
  • requests per country, only when Cloudflare proxies the domain, from the country code Cloudflare adds

For each domain, method and route, every five minutes:

  • requests, of which bots
  • responses per status code
  • response time
  • bytes sent
  • the host names of the top referring sites, never the referring page’s path

A route is the path with its variable parts replaced, so /v1/orders/8421 and /v1/orders/8422 count as one route, /v1/orders/:id. The runner replaces:

Path segmentBecomes
All digits, a ULID, or a long hex string:id
A UUID:uuid
Anything with @:email
A date such as 2026-11-13:date
20 characters or more mixing letters and digits:token
8 characters or more with at least two digits and a letter, such as a ticket number:code

Static files keep their directory, and a file name that carries a build hash collapses to its extension: /_astro/Countdown.CRtDVAwt.js counts as /_astro/*.js. When one position in a path takes more than 50 different values within an hour, such as a username or a slug, that position becomes :param.

Each domain keeps up to 200 routes in each five-minute window. Requests to further routes count under other routes. A 404 on a route that has never answered anything but 404 counts under not found, so scanners probing paths such as /.env do not fill the table.

The managed proxy can give every request an X-Request-Id. A request that arrives with a well-formed id keeps it, so ids set upstream, including Cloudflare’s, are preserved. A request without one gets a fresh UUID. The id is sent to your container as a request header and returned to the client in the response, unless your application sends its own X-Request-Id.

When a request is recorded by traffic analytics or access logs, its id is kept on the line as the request_id field, so you can match a support request to the exact line in the proxy’s logs. Reoclo enables request ids server by server; nothing changes on a server where they are not on yet.

Every request is put in one of three classes, from its User-Agent header. The header itself is not kept.

ClassMatchesCounted in
VisitorEverything elseRequests, status codes, response times, routes
BotUser agents containing bot, crawl, spider, slurp, uptime, monitor, curl, wget, python-httpx, go-http-client or headlessRequests, status codes, response times, routes, and shown as bots
Reoclo checkUser agents starting with Reoclo-, which Reoclo’s uptime monitors and edge checks sendOnly the request count, shown as its own line

Reoclo’s own checks are kept out of status codes, response times and routes. On a quiet site they would otherwise make up most of the traffic. If one of your monitors sets its own User-Agent header, its requests are classed by that header instead.

Traffic analytics never records or sends:

  • visitor IP addresses
  • query strings, from the path or from the referrer
  • request headers, including cookies and authorization headers, and the user agent
  • response headers or response bodies
  • the referring page’s path; only its host name is counted

There is no per-visitor tracking of any kind: no unique visitors, no sessions and no cookies.

Route templates are the only path data that leave your server. The rules above remove ids, email addresses and tokens, but a path that carries personal data in a plain word, such as /users/jane, is kept as written until the :param rule folds it.

DataResolutionKept for
Per-domain counts1 minute14 days
Per-route counts5 minutes7 days
Per-route counts1 hour90 days
Per-route counts1 day365 days
Observed connections5 minutes7 days

Older data is deleted automatically.

  1. Open the domain, then Settings, then the Traffic and logs card.
  2. Switch off Traffic analytics.
  3. Choose Save changes.

The server’s runner stops counting that domain within a minute. Counts already stored are kept until they expire. The domain shows Analytics off on the Topology page.

Traffic analytics and access logs are separate switches. Turning analytics off does not affect access logs, and turning access logs on is not needed for analytics.

After every successful deploy, Reoclo compares each route’s traffic with the same route’s traffic in the 24 hours before the deploy. The result is the Traffic check card on the deployment, and a regression is sent to your notification channels. It applies to single apps and to the services of a stack alike.

The check runs on a schedule:

  • The first look is 15 minutes after the deploy.
  • It needs 500 requests since the deploy, and at least 100 requests on a route before that route is compared. Until then it looks again every 5 minutes.
  • It gives up 2 hours after the deploy.

A route is flagged as a regression when either of these holds:

  • Its p95 latency is at least twice as high as before and at least 50 ms higher.
  • Its 5xx rate is at least 2 percentage points higher than before.

A route that had no traffic in the 24 hours before the deploy is not compared, so a route you add in the deploy is never flagged.

ResultMeaning
No regressionEvery route with enough requests stayed inside both limits.
RegressionOne or more routes crossed a limit. Each row names the route, the change and the commit, and opens the app’s Traffic tab on that route.
SkippedReoclo records no traffic for the app’s routes, too few requests came in before the 2 hour limit, or a newer deploy replaced this one first.

The check only reports. It never changes the deployment’s status and never rolls anything back.

A regression sends a Deploy regression event to every notification channel that has it switched on. It is on by default, including for channels you created before this event existed. To turn it off for a channel, open the channel and clear Deploy regression in its list of events.

What you seeWhyWhat to do
”No traffic yet” on a serviceNo request has reached its domains in the selected range, or the first counts have not arrivedSend a request to the domain and wait about a minute
”No managed proxy on server”The domain’s server uses an external proxy or noneSwitch the server to the Reoclo managed proxy
”Update the runner on server to record traffic”The runner predates traffic analyticsUpdate the runner from the server’s page
”Traffic analytics is off on server”Analytics has not been switched on for that server yet during the rolloutNo action needed; numbers appear once it is
”Connections not observed on server”The runner on that server does not sample connections yet, cannot read its containers’ network state, or connection sampling is not switched on for itNo action needed while the rollout reaches it; update the runner if the note stays
”Traffic analytics is off for its domains”Every domain of the service has analytics switched offSwitch it on in the domain’s Traffic and logs card

Traffic can sit on any dashboard. Open the dashboard in edit mode and add a Metric chart or a Top routes widget. Both need view access to applications, the same access as the Traffic tab, and a domain is also checked against the application it belongs to.

The metric chart offers four traffic series. Each charts exactly one domain or one application, so choose either a Domain or an Application filter, not both.

SeriesWhat it plots
RequestsRequests per time bucket. Bots count, Reoclo’s own checks do not.
Error rate (5xx)Share of requests in the bucket that returned a 5xx status
Response time (95th percentile)The response time that 95% of the bucket’s requests beat
Bytes outBytes sent to clients per time bucket

The bucket width follows the range:

RangeBucketRead from
1 hour1 minutePer-domain counts
24 hours15 minutesPer-domain counts
7 days1 hourPer-route counts, summed
30 days1 dayPer-route counts, summed

Requests and bytes show zero for a quiet bucket. Error rate and response time leave a gap there, because a rate with no requests behind it is not a real value. A percentile is read from the merged latency counts of the bucket, so it is not an average of smaller percentiles.

The Top routes widget lists the busiest routes of one application or domain in a compact table: route, requests, errors and 95th percentile response time. The response time column hides when the widget is narrow. Choose:

  • Show routes for, an application or a domain, and which one.
  • Range, from 15 minutes to 90 days.
  • Sort by: requests, errors, p95 or bytes.
  • Rows, from 5 to 25.

A line under the table counts the requests that were not listed: routes grouped as other, and requests to paths that matched no route. Open the Traffic tab at the bottom of the widget opens the same range of data with charts and breakdowns.

Traffic analytics feeds three alerts on each domain. They are on for every organization and send through the channels your alert routing already uses.

AlertFires whenDefault warnDefault critical
Error rate highThe share of 5xx responses over the last 5 minutes is at or above the threshold5%20%
Latency highThe p95 response time over the last 5 minutes is at or above the threshold2000 ms5000 ms
Traffic dropSuccessful requests (status below 400) in the last 15 minutes fall to the threshold or below, as a share of the same 15 minutes last week20%5%

The alerts are checked every minute and fire after two bad checks in a row. They clear after three good checks in a row, and a check is good only once the reading is past the clear value. A reading between the clear and warn values keeps an open alert open but never opens a new one.

An alert never fires on too little data, so an idle domain stays silent:

  • Error rate and latency need at least 50 requests in the 5 minute window. A thinner window says nothing about the domain, so it neither fires an alert nor counts toward clearing one. A domain that serves fewer than 50 requests over a whole 15 minutes has gone quiet, and an open alert on it clears with a message saying there was too little traffic to judge.
  • Traffic drop compares successful requests only, so a scanner’s burst of 404 responses last week never reads as traffic you lost this week. It judges a domain only when the same 15 minutes last week held at least 50 successful requests. When last week’s slice is thinner, an open drop alert stays open until the domain serves 50 successful requests in 15 minutes again. It also needs 8 days of traffic analytics on the domain, so a newly counted domain has no drop alert for its first week.
  • Only 5xx responses count as errors. 4xx responses are client errors and never raise the error rate.

If Cloudflare serves cached assets for a domain, Reoclo counts only the requests that reach your server. The guards then apply to that lower count, which makes the alerts stricter, not noisier.

Leave long-polling routes out of the latency alert

Section titled “Leave long-polling routes out of the latency alert”

Some routes hold a request open by design, such as Matrix /sync or a server-sent events stream. Their response time is the length of the poll, not slowness, so they push p95 latency past any threshold. List them on the domain’s Traffic and logs card under Paths the latency alert ignores, one per line. A * stands for one path segment, so /_matrix/client/*/sync covers every client API version. Write the paths as the Traffic tab names its routes.

With paths listed, the latency alert reads the two latest 5 minute route buckets with those routes left out, so its window is up to 10 minutes. It also judges quiet on those routes alone: when they serve fewer than 50 requests over 15 minutes, an open latency alert clears even while the ignored routes stay busy. The error rate and traffic drop alerts still count every route.

The drop alert trusts last week’s traffic as its baseline. When last week no longer fits, for example after a migration or a change to how traffic is counted, the drop alert fires on traffic you never lost. A recalibration rebuilds the baseline:

  • Traffic recorded before the start never serves as a baseline again. The drop alert judges once a full week of traffic exists after the start, so it stays quiet for at least a week and 15 minutes.
  • Every traffic alert on the domains it covers stays quiet for the period you pick, from 1 to 14 days. Open traffic alerts close when it starts, and their message says they closed for the recalibration rather than that traffic recovered.

Start one with Recalibrate traffic on the Alerts page for every domain of the organization, or on a domain’s Alerts tab for that domain alone. It needs permission to edit alerts. While it runs, the button shows when traffic alerts resume. Open it to see when drop alerts judge again, or to end the quiet period early. Ending early lifts the quiet period only, and traffic from before the start stays out of the baseline. A new recalibration replaces the one running for the same scope, and the audit log records each start and end.

Thresholds, severities and routing are edited from the alert catalog, like any other alert. For error rate and latency the clear value must not be above the warn value, and warn must be below critical. For traffic drop the order is reversed: critical must be below warn, and warn below clear, because a lower share of last week is worse.

Each alert names the domain, shows the reading and the line it crossed, and links to the domain’s page. The recovery message says how long the condition lasted.

The CLI (0.109.0 or later) reads the same numbers. reoclo traffic summary prints requests, errors and latency against the previous period, reoclo traffic routes lists the busiest routes, and reoclo traffic watch follows the last 15 minutes live. See reoclo traffic.

Agents use the MCP tools get_traffic_summary and list_traffic_routes, for example to answer which routes got slower after the last deploy.