Install the SDK, or the CLI for
ppio commands, and set the PPIO_API_KEY and PPIO_DOMAIN environment variables before running these examples. See Quickstart and Install and authenticate.Get sandbox metrics
Calling the metrics API returns a list of timestamped metric records.Metrics are sampled every 5 seconds. Metrics do not appear immediately after sandbox creation: before the first sample, the response is empty.
<sandbox-id> is the sandbox ID.