traffic_stats
Retrieve per-service traffic metrics including requests, latency, rate, and sessions from the proxy's exposed metrics, with optional target selection for focused analysis.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No |