GET /sandboxes/{sandboxID}/metrics
Sandbox metrics
Get sandbox metrics
Параметры
sandboxID·string· путь · обязательноstart·integer· запрос · необязательноUnix timestamp for the start of the interval, in seconds, for which the metrics
Формат:
int64Минимум:
0end·integer· запрос · необязательноUnix timestamp for the end of the interval, in seconds, for which the metrics
Формат:
int64Минимум:
0
Ответы
200
Successfully returned the sandbox metrics
Content-Type: application/json
Схема: array<SandboxMetric>
timestampUnix·integer· обязательноTimestamp of the metric entry in Unix time (seconds since epoch)
Формат:
int64cpuCount·integer· обязательноNumber of CPU cores
Формат:
int32cpuUsedPct·number· обязательноCPU usage percentage
Формат:
floatmemUsed·integer· обязательноMemory used in bytes
Формат:
int64memTotal·integer· обязательноTotal memory in bytes
Формат:
int64memCache·integer· обязательноCached memory (page cache) in bytes
Формат:
int64diskUsed·integer· обязательноDisk used in bytes
Формат:
int64diskTotal·integer· обязательноTotal disk space in bytes
Формат:
int64
400
Bad request
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
401
Authentication error
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
404
Not found
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
500
Server error
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError