get_endpoint_metrics
Identify problematic endpoints in Kubernetes by retrieving request rate, error rate, and latency metrics for a specified workload.
Instructions
[probe/Prometheus] Per-endpoint request rate, error rate, and latency (http.server.requests).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"service": "<service>"
},
"name": "get_endpoint_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | Time window like 15m, 2h, 1d (default 15m) | |
| service | Yes | Workload name as you would say it: a Deployment, StatefulSet, DaemonSet, Service, or Pod name | |
| namespace | No | Kubernetes namespace (required: no default configured; see list_namespaces) |