Skip to main content
Server Metrics

Get server metrics

Get server metrics. By default this endpoint returns fixed lookback windows per resource. For explicit windows, prefer from/to timestamps. The legacy resolutionSeconds+maxSamples model is still supported: effective lookback is approximately resolutionSeconds * (maxSamples - 1), and maxSamples is a hard cap on returned points per series (latest points are kept).

GET
/servers/{serverSlug}/metrics
Authorizationstringheaderrequired

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

serverSlugstringrequired

Slug of the server

resolutionSecondsintegerquery

Global sampling resolution in seconds. Effective value is aligned to internal monitoring scrape cadence. When combined with maxSamples, this also controls historical lookback (roughly resolutionSeconds * (maxSamples - 1)). Maximum accepted value is 5184000 (60 days).

Required range: 1 <= x <= 5184000
maxSamplesintegerquery

Optional hard cap for returned samples per metric series (latest points are kept). Allowed range: 1..8640. With an explicit global resolution, maxSamples also controls lookback; without explicit resolution, default lookback windows are retained and only sample count is limited.

Required range: 1 <= x <= 8640
fromstring | integerquery

Optional explicit window start for historical sampling. Accepts ISO 8601 timestamp (recommended) or unix epoch seconds/milliseconds.

tostring | integerquery

Optional explicit window end for historical sampling. Accepts ISO 8601 timestamp (recommended) or unix epoch seconds/milliseconds.

Response

application/json

Server Metrics

cpuobject

CPU metrics model. CPU use is returned as aggregate of whole seconds every 30 minute window, last 12 hours, including percentage utilization for the same samples. Additional detailed raw CPU metric samplings are nested under detailedMetrics.

diskobject

Disk metrics model. Returns disk utilization in 24 hour intervals last 7 days, in MiB.

memoryobject

Memory metrics model. Memory use in 1 hour intervals last 24 hours, in MiB. 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.

metaobject

Sampling metadata. meta.requested includes requested resolutionSeconds/maxSamples and resolved from/to timestamps. meta.series is keyed by response series path (for example memory.usageSamplings) with actualStart, actualEnd, actualResolutionSeconds, returnedSamples, and truncatedToMaxSamples.

networkobject

Network metrics model. Ingress and egress in 24 hour intervals last 7 days, in MiB.

processesobject

Processes metrics model. Returns the number of processes in 30 minute intervals last 12 hours. Count as seen at timestamp.

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.