API calls for all endpoints tagged System.
Summary
Functions
Get sandbox resource metrics Latest CPU/memory/disk usage snapshot for the sandbox. cpuUsedPct is the average CPU usage as a percentage of the CPU limit over the last sample window (0 until the first sample completes). Byte fields are in bytes.
Functions
@spec get_system_metrics( Tesla.Env.client(), keyword() ) :: {:ok, ExDaytona.Model.SystemMetrics.t()} | {:error, Tesla.Env.t()}
Get sandbox resource metrics Latest CPU/memory/disk usage snapshot for the sandbox. cpuUsedPct is the average CPU usage as a percentage of the CPU limit over the last sample window (0 until the first sample completes). Byte fields are in bytes.
Parameters
connection(ExDaytona.Connection): Connection to serveropts(keyword): Optional parameters
Returns
{:ok, ExDaytona.Model.SystemMetrics.t}on success{:error, Tesla.Env.t}on failure