GET /metrics
Service stats
Parameters
Agentbox-Sandbox-Id·string· header · requiredIdentifier of the sandbox that receives the request.
Agentbox-Sandbox-Port·integer· header · requiredInternal envd HTTP port exposed through the sandbox proxy.
Default:
49983
Responses
200
The resource usage metrics of the service
Content-Type: application/json
Schema: Metrics
Resource usage metrics
ts·integer· optionalUnix timestamp in UTC for current sandbox time
Format:
int64cpu_count·integer· optionalNumber of CPU cores
cpu_used_pct·number· optionalCPU usage percentage
Format:
floatmem_total·integer· optionalTotal virtual memory in bytes
mem_used·integer· optionalUsed virtual memory in bytes
mem_cache·integer· optionalCached memory (page cache) in bytes
mem_total_mib·integer· optionalTotal virtual memory in MiB
mem_used_mib·integer· optionalUsed virtual memory in MiB
disk_used·integer· optionalUsed disk space in bytes
disk_total·integer· optionalTotal disk space in bytes