Get server monitoring overview
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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the Upsun project
[a-z0-9]+"abc123def456"
The environment identifier
.+"main"
Query Parameters
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"
Filter by application names
Filter mode for applications parameter. "1" (additive) includes only specified applications. "-1" (subtractive) excludes specified applications and includes all others. When omitted: defaults to "-1" if no applications values are provided; defaults to "1" (additive) if at least one applications value is provided.
1, -1 "1"
Filter by instance names
Filter mode for instances parameter. "1" (additive) includes only specified instances. "-1" (subtractive) excludes specified instances and includes all others. When omitted: defaults to "-1" if no instances values are provided; defaults to "1" (additive) if at least one instances value is provided.
1, -1 "1"
Cost distribution dimension for server load distribution.
wt, pmu Response
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 application filter values
Application filter mode (additive=include only, subtractive=exclude)
additive, subtractive Applied instance filter values
Instance filter mode (additive=include only, subtractive=exclude)
additive, subtractive Applied distribution cost dimension (wt=wall time, pmu=peak memory usage)
wt, pmu