error_counters
Read per-service request and status-code counters from Traefik or HAProxy to analyze error rates and support root-cause analysis.
Instructions
[READ] Per-service request/status-code counters (feeds error_rate_rca).
traefik: parsed from the /metrics text endpoint (per-code); haproxy: Data Plane stats (per-class hrsp_*); caddy: teaching note (no per-route counters).
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 (only the busiest services are 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": "error_counters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No |