Returns time-series server monitoring data for the specified metrics (wall time, memory usage, peak memory usage, CPU load, stdout, requests per minute). Includes alert evaluations and APM quota usage. Data points contain metric values aggregated at the requested granularity.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the Upsun project
[a-z0-9]+"abc123def456"
The environment identifier
.+"main"
Start timestamp for the time range (Unix timestamp in seconds)
1704067200
End timestamp for the time range (Unix timestamp in seconds)
1704153600
Metrics to retrieve (wall time, memory usage, peak memory, CPU load, stdout, requests per minute)
wt, mu, pmu, load, stdout, rpms Granularity of data points in seconds. Auto-calculated if omitted.
10
Filter by execution contexts. Defaults to ["web"] with additive mode when neither contexts nor contexts_mode is specified.
web, cli Filter mode for contexts parameter. "1" (additive, default) includes only specified contexts. "-1" (subtractive) excludes specified contexts and includes all others. When neither contexts nor contexts_mode is specified, defaults to "1" (additive) with contexts=["web"].
1, -1 "1"
Cost distribution dimension for server load distribution.
wt, pmu Server global metrics retrieved successfully
APM quota usage information
Data granularity in seconds
5
Query start timestamp
1704067200
Query end timestamp
1704153600
Requested metric keys
["wt", "rpms"]Blackfire Agent UUID
"a38f69ca-3b56-4ea6-beac-272b2568164a"
Applied context filter values
Context filter mode (additive=include only, subtractive=exclude)
additive, subtractive Project identifier
"abc123def456"
Environment identifier
"main"
Branch machine name
"main-bvxea6i"
Alert rule evaluations for the time range
Server metrics data
Applied distribution cost dimension (wt=wall time, pmu=peak memory usage)
wt, pmu