get_eks_metrics
Retrieve Amazon EKS cluster metrics from the Kubernetes API server with optional filtering by metric name, regex pattern, or labels.
Instructions
Fetch EKS metrics from api_server or cloudwatch.
The api_server source calls Kubernetes API server /metrics, equivalent to kubectl get --raw /metrics. CloudWatch is reserved for a future implementation step.
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": "get_eks_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| source | No | api_server | |
| include_raw | No | ||
| metric_name | No | ||
| cluster_name | No | ||
| kube_context | No | ||
| kubeconfig_path | No | ||
| label_selectors | No | ||
| timeout_seconds | No | ||
| metric_name_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |