Skip to content

reoclo traffic

reoclo traffic summary (--app <id|name> | --domain <fqdn|id>) [options]
reoclo traffic routes (--app <id|name> | --domain <fqdn|id>) [options]
reoclo traffic watch (--app <id|name> | --domain <fqdn|id>) [options]

reoclo traffic reads the request counts, error rates and latency that the managed proxy records. Every command takes exactly one subject: --app or --domain. Requires CLI 0.109.0 or later. See Traffic analytics for what is counted.

Requests, errors and latency for the range, with the change against the period just before it.

FlagDefaultDescription
--app <id|name>The application to read.
--domain <fqdn|id>The domain to read.
--range <range>1h15m, 1h, 6h, 24h, 7d, 30d or 90d.
--route <template>all routesOnly this route, for example /users/:id. Needs --method.
--method <verb>The HTTP method of --route.

The busiest routes, with errors and latency.

FlagDefaultDescription
--app <id|name>The application to read.
--domain <fqdn|id>The domain to read.
--range <range>1hSame ranges as summary.
--sort <key>requestsrequests, errors, p95 or bytes.
--limit <n>50Routes to list, 1 to 200.

Redraws the last 15 minutes until you press Ctrl-C.

FlagDefaultDescription
--app <id|name>The application to read.
--domain <fqdn|id>The domain to read.
--interval <seconds>5Seconds between refreshes, 1 to 3600.

Check an application over the last day:

Terminal window
reoclo traffic summary --app api --range 24h

Find the slowest routes on a domain this week:

Terminal window
reoclo traffic routes --domain api.example.com --range 7d --sort p95 --limit 10

Look at one route on its own:

Terminal window
reoclo traffic summary --app api --range 6h --route /v1/orders/:id --method GET

Keep an eye on a deploy as it rolls out:

Terminal window
reoclo traffic watch --app api --interval 10

Use -o json to print the API response unchanged. With watch, each refresh prints one JSON document per line.

Terminal window
reoclo traffic routes --app api --sort errors -o json | jq '.items[] | {route, error_rate}'

The CLI’s MCP server, and the hosted Reoclo MCP server, offer the same reads as get_traffic_summary and list_traffic_routes, with the same filters.