docker_stats
Retrieve CPU, memory, and PID usage for every running container on an instance. Monitor resource consumption with a read-only call.
Instructions
Single-sample resource usage for every running container on one instance: CPU %, memory used/limit (bytes), memory %, and PID count. Read-only. Returns JSON: {containers: [{name, cpu_percent, mem_used_bytes, mem_limit_bytes, mem_percent, pids}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | Instance ID or name. |