Skip to main content
Server Metrics

Get instant metrics

Get instant metrics. Data is evaluated against the latest completed monitoring scrape and is typically 10-20 seconds behind real time.

GET
/servers/{serverSlug}/metrics/now
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

serverSlugstringrequired

Slug of the server

Response

application/json

Instant server metrics

cpuobject

Instant CPU metrics model. CPU use in seconds last 30 minutes plus usage percentage. Additional detailed raw CPU metric samples are nested under detailedMetrics.

diskobject

Instant disk metrics model. Disk utilization right now in MiB.

memoryobject

Instant memory metrics model. Memory use in MiB right now. Memory used is calculated as MemTotal - MemAvailable (Linux available-memory estimate); this includes memory that is currently allocated, including cache/buffer memory not considered readily available. If MemAvailable data is unavailable, active memory is used as fallback.

networkobject

Instant network metrics model. Ingress and Egress in MiB last ~24 hours. To get a more accurate reading, query the general metrics endpoint.

processesobject

Instant Processes metrics model. Count of processes right now.

resourceUsageStatusobject

Server resource usage warning/status aggregate. Utilization levels are evaluated from the current snapshot values, while problemResources may also include sampled-window anomaly flags (e.g. OOM growth or network quality ratios) derived from returned samplings.