DocsCompute / VPSInstance Metrics
Compute / VPS

Instance Metrics

Monitor CPU, memory, disk and bandwidth usage.

Available metrics

wasaaCloud collects real-time metrics for all running instances:

  • CPU usage — percentage of allocated vCPUs in use
  • Memory — GB used vs. total allocated
  • Disk I/O — read/write operations per second
  • Network — inbound and outbound Mbps

Metrics API

Retrieve current metrics for any instance.

bash
curl https://api.wasaacloud.com/api/instances/INSTANCE_ID/metrics \
  -H "Authorization: Bearer YOUR_TOKEN"

Metric response

json
{
  "instanceId": "inst_abc123",
  "cpu": { "usage": 38, "cores": 4 },
  "memory": { "used": 3.1, "total": 8, "unit": "GB" },
  "disk": { "used": 42.5, "total": 160, "unit": "GB" },
  "network": { "in": 12.4, "out": 6.8, "unit": "Mbps" },
  "uptime": 86400,
  "timestamp": "2024-11-01T12:00:00.000Z"
}
← Previous
VPS Actions

Was this article helpful?

Need more help? Open a support ticket

On this page

Available metrics
Metrics API
Metric response
Get support