Odoo instance metrics
hodiploy_get_metricsCPU, memory, network and disk history of an instance over 1h, 24h (default), 7d or 30d, per container. On the web container, busyWorkers / peakWorkers are the HTTP workers busy with a request (mean and peak per point), to compare with allocated.workers: a peak at that number means every worker was busy and requests queued. Long windows are cut to the newest points (truncated).
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": {
"instance_id": "<instance_id>"
},
"name": "hodiploy_get_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | 24h | |
| service_id | No | Hodiploy service id from hodiploy_list_instances. Optional when the user has a single Hodiploy service. | |
| instance_id | Yes | Instance id from hodiploy_list_instances. |