System
GET
Returns one RFC 3339 metrics snapshot: logical CPU count, sampled CPU utilization, guest memory usage, and disk usage for the filesystem containing the sandbox work directory.
application/json- response
One guest-sampled resource snapshot.
cpuCount*integerLogical CPU count visible inside the sandbox.
Format
int32Range
0 <= valuecpuUtilization*numberFraction of total CPU capacity in use across all CPUs, clamped to 0..=1.
Format
doublediskTotalBytes*integerTotal bytes on the filesystem containing the sandbox work directory.
Format
int64Range
0 <= valuediskUsageBytes*integerUsed bytes on the filesystem containing the sandbox work directory.
Format
int64Range
0 <= valuememoryTotalBytes*integerTotal guest memory in bytes.
Format
int64Range
0 <= valuememoryUsageBytes*integerBytes of guest memory currently in use (total - available).
Format
int64Range
0 <= valuetimestamp*stringSnapshot time as an RFC 3339 UTC timestamp.
curl -X GET 'http://sandbox:2280/system/metrics'{ "cpuCount": 0, "cpuUtilization": 0.1, "diskTotalBytes": 0, "diskUsageBytes": 0, "memoryTotalBytes": 0, "memoryUsageBytes": 0, "timestamp": "string"}