App metrics
get_app_metricsSummarizes an app's CPU, memory, and ephemeral-storage usage over a time window and compares current, average, min, and max values with requests and limits.
Instructions
CPU, memory and ephemeral-storage usage of an app over a time window, summarised (current/avg/min/max vs request and limit, % of limit).
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": {
"name": "<name>"
},
"name": "get_app_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | App name or ID. | |
| step | No | Resolution in seconds (min 15). Usually omit. | |
| type | No | Only this resource type (default: all). | |
| 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. | |
| environment | No | Environment name (e.g. production) or ID (env-…). Defaults to NIMBUZ_ENV, the `nimbuz use` context, or the only environment. |