Returns CPU, memory, network, load, and connection metrics for a running server over a configurable time window. Each metric is a time series of {t, v} data points where t is a Unix timestamp and v is the metric value.
Use period to control the time window (e.g., 1h for last hour) and step for data point resolution (e.g., 60s for one point per minute).
Only available for servers that are currently running.
Server instance ID.
Time window for metrics. "5m": last 5 minutes, "15m": last 15 minutes, "1h": last hour, "6h": last 6 hours, "24h": last 24 hours.
5m, 15m, 1h, 6h, 24h Data point interval. Smaller steps give higher resolution but more data. "15s": every 15 seconds, "30s": every 30 seconds, "60s": every minute (default), "300s": every 5 minutes.
15s, 30s, 60s, 300s Server resource metrics over the requested time window.
Server resource metrics including CPU, memory, network, load, and connections over a configurable time window.
Server instance ID.
Fly.io machine ID providing these metrics.
Fly.io region code (e.g., "ewr", "fra").
Time window and resolution for the returned metrics.
CPU usage metrics.
Memory usage metrics.
Network I/O metrics.
System load average metrics.
Network connection metrics.