Environment metrics
get_environment_metricsRetrieve summarized CPU, memory, and storage usage for an entire environment over a specified time window to monitor resource consumption and performance.
Instructions
Total CPU, memory and storage usage of a whole environment over a time window, summarised.
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_environment_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| environment | No | Environment name (e.g. production) or ID (env-…). Defaults to NIMBUZ_ENV, the `nimbuz use` context, or the only environment. |