You need to enable JavaScript to run this app.
Application Performance Management Plus

Application Performance Management Plus

Copy page
Download PDF
Startup analytic
GetAppStartupMultiTrend
Copy page
Download PDF
GetAppStartupMultiTrend
Obtain the trend of application startup analysis.​
Request description​
RUM is deployed across multiple regions worldwide to provide more stable and low-latency access. You can refer to the Service addresses topic to choose the most suitable access point based on your business location.​
  • Request method: POST​
  • Request URL: https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=GetAppStartupMultiTrend&Version=2022-10-12​
Request parameters​
The following table lists only the request parameters specific to this API and some public parameters. For details, see Public parameters.​
​
Parameters​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
GetAppStartupMultiTrend​
The API name. The API name is GetAppStartupMultiTrend.​
Version​
String​
Yes​
2022-10-12​
The API version. The current API version is 2022-10-12.​
start_time​
Integer​
No​
1665417600​
Start time.​
end_time​
Integer​
No​
1665504000​
The end time.​
filters​
Object of Condition​
No​
-​
The filter condition. You can specify multiple key‑value pairs to filter data.​
launch_mode: The application startup mode:​
  • 1: First start​
  • 2: Cold start​
  • 3: Hot start​
  • 4: Warm start​
The operating system:​
  • Android​
  • iOS​
granularity​
Integer​
No​
5​
The aggregation granularity. Unit: minutes.​
group_by_field​
String​
No​
os​
The grouping field. An empty string is passed if no grouping is required.​
metrics​
Array of String​
No​
startup_count​
The metric list.​
  • startup_count: The startup count.​
  • startup_time_avg: The average startup time.​
  • time_pct50: The 50th percentile of startup time.​
  • time_pct75: The 75th percentile of startup time.​
  • time_pct95: The 95th percentile of startup time.​
  • time_pct99: The 99th percentile of startup time.​
​
Condition​
​
Parameters​
Type​
Required​
Sample value​
Description​
op​
String​
No​
in​
The operator.​
  • gt: greater than​
  • gte: greater than or equal to​
  • lt: less than​
  • lte: less than or equal to​
  • eq: equal to​
  • neq: not equal to​
  • in: contains​
  • not_in: does not contain​
  • lk: Matches data that fits a specific pattern.​
  • nlk: Excludes data that fits a specific pattern.​
type​
String​
No​
expression​
The type of the filter condition.​
  • expression: The current condition is an expression.​
  • and: The current condition is a compound expression, and multiple sub-conditions are in an AND logical relationship.​
  • or: The current condition is a compound expression, and multiple sub-conditions are in an OR logical relationship.​
  • map: The current condition is of map type.​
value​
String​
No​
123456​
The filter value.​
values​
Array of String​
No​
[123456]​
The filter value. Multiple filter values are supported.​
map_key​
String​
No​
key_1​
The key of the map type. It is required when the type is set to map.​
dimension​
String​
No​
aid​
The name of the condition.​
sub_conditions​
Array of Condition​
No​
-​
The sub-condition.​
​
Sample request​
​
POST https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=GetAppStartupMultiTrend&Version=2022-10-12​
{​
"start_time": 1665417600,​
"end_time": 1665504000,​
"filters": {​
"op": "in",​
"type": "expression",​
"value": "123456",​
"values": [​
123456​
],​
"map_key": "key_1",​
"dimension": "aid",​
"sub_conditions": []​
},​
"granularity": 5,​
"group_by_field": "os",​
"metrics": [​
""​
]​
}
​
Response parameters​
​
Parameters​
Type​
Sample value​
Description​
data​
JSON Map​
-​
The returned error data.​
The key is the metric name. For a request without metric grouping, the list contains only one element. When grouping is applied, the list contains multiple elements, and each element represents one line in the trend chart.​
error_msg​
String​
-​
Error message.​
error_no​
Integer​
0​
Error code.​
​
Data​
​
Parameters​
Type​
Sample value​
Description​
key​
String​
​
​
value​
Array of TrendLine​
​
​
​
TrendLine​
​
Parameters​
Type​
Sample value​
Description​
name​
String​
test123​
The name of the line. When grouped, the name needs to be set to the value of the grouping dimension. For example, it is used as the legend label for the curve.​
points​
Array of TrendPoint​
-​
The data points on the curve.​
total​
Double​
​
The total count.​
​
TrendPoint​
​
Parameters​
Type​
Sample value​
Description​
alert​
Object of AlertPoint​
-​
The alert message.​
value​
Double​
123​
The metric value.​
timestamp​
Long​
1665417600​
The time when the metric occurred (Unix timestamp).​
readable_timestamp​
String​
2022-10-11​
The time when the metric occurred (natural time).​
​
AlertPoint​
​
Parameters​
Type​
Sample value​
Description​
msg​
String​
No error​
The alert message.​
alert​
Boolean​
true​
Whether an alert is required.​
​
Sample response​
​
{​
"data": {},​
"error_msg": "-",​
"error_no": 0​
}
​
Error codes​
No error codes are specific to this API. If the API call returns an error code, refer to Public error codes for troubleshooting.​
Last updated: 2026.09.16 17:53:35