traffic_stats
Fetch a per-service traffic snapshot showing requests, latency, rate, and sessions from Traefik, HAProxy, or Caddy. Use to monitor proxy performance and capacity.
Instructions
[READ] Per-service traffic snapshot: requests, latency/rate/sessions where the platform exposes it (traefik /metrics, haproxy stats; caddy returns the support matrix's teaching note).
Args: target: Proxy target name from config; omit for the default.
Returns an envelope: {"services": [...], "returned": N, "limit": L, "truncated": bool, "total": T}. When "truncated" is true this proxy serves more services than were returned.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "traffic_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No |