Container metrics
get_container_metricsRetrieve summarized CPU, memory, and storage usage for a single pod container over a chosen time window to monitor performance and capacity.
Instructions
CPU, memory and storage usage of a single pod container over a time window, summarised.
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": {
"pod": "<pod>",
"container": "<container>"
},
"name": "get_container_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pod | Yes | Pod name. | |
| step | No | Resolution in seconds (min 15). Usually omit. | |
| since | No | Time window ending now, e.g. "15m", "1h", "6h", "7d" (default 1h). | |
| project | No | Project name or ID. Defaults to NIMBUZ_PROJECT, the `nimbuz use` context, or the only project. | |
| container | Yes | Container name. | |
| environment | No | Environment name (e.g. production) or ID (env-…). Defaults to NIMBUZ_ENV, the `nimbuz use` context, or the only environment. |