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.
summary
Section titled “summary”Requests, errors and latency for the range, with the change against the period just before it.
| Flag | Default | Description |
|---|---|---|
--app <id|name> | The application to read. | |
--domain <fqdn|id> | The domain to read. | |
--range <range> | 1h | 15m, 1h, 6h, 24h, 7d, 30d or 90d. |
--route <template> | all routes | Only this route, for example /users/:id. Needs --method. |
--method <verb> | The HTTP method of --route. |
routes
Section titled “routes”The busiest routes, with errors and latency.
| Flag | Default | Description |
|---|---|---|
--app <id|name> | The application to read. | |
--domain <fqdn|id> | The domain to read. | |
--range <range> | 1h | Same ranges as summary. |
--sort <key> | requests | requests, errors, p95 or bytes. |
--limit <n> | 50 | Routes to list, 1 to 200. |
Redraws the last 15 minutes until you press Ctrl-C.
| Flag | Default | Description |
|---|---|---|
--app <id|name> | The application to read. | |
--domain <fqdn|id> | The domain to read. | |
--interval <seconds> | 5 | Seconds between refreshes, 1 to 3600. |
Examples
Section titled “Examples”Check an application over the last day:
reoclo traffic summary --app api --range 24hFind the slowest routes on a domain this week:
reoclo traffic routes --domain api.example.com --range 7d --sort p95 --limit 10Look at one route on its own:
reoclo traffic summary --app api --range 6h --route /v1/orders/:id --method GETKeep an eye on a deploy as it rolls out:
reoclo traffic watch --app api --interval 10Output formats
Section titled “Output formats”Use -o json to print the API response unchanged. With watch, each refresh prints one JSON document per line.
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.