Queries the exception stack information of a Real User Monitoring (RUM) application.
Operation description
Real User Monitoring (RUM) is available only in the China (Hangzhou), Singapore, and US (Silicon Valley) regions. Select the correct endpoint.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| arms:GetRumExceptionStack | get | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Pid | string | Yes | The application ID. | atxxxxzkcf@d8deedfa9bf**** |
| ExceptionStack | string | No | The exception stack information. Set the value to a JSON string. call_stack.info represents the stack information, call_stack.thread.name represents the thread name, and call_stack.thread.id represents the thread ID. This parameter is exactly the same as the exception.stack parameter in the logstore-rum Logstore of Simple Log Service. | [ { "call_stack.info": "libsystem_kernel.dylib 0x00000001f1ce9178 0x00000001f1ce8000 + 4472\r\nlibsystem_kernel.dylib 0x00000001f1ce8f10 0x00000001f1ce8000 + 3856\r\nlibsystem_kernel.dylib 0x00000001f1ced718 0x00000001f1ce8000 + 22296\r\nAlibabaCloudRUM 0x0000000106711af4 0x0000000106660000 + 727796\r\nlibsystem_pthread.dylib 0x00000002146744d4 0x0000000214672000 + 9428", "call_stack.thread.name": "#3 BRSCrash Exception Handler (Secondary)", "call_stack.thread.id": "16643" } ] |
| ExceptionBinaryImages | string | No | The binary images, which represent all executable files loaded into the process address space when a crash occurs. | iOSDemo:arm64%3B1489F4D3-6DE2-300C-90E9-E1B869675351%3B0x0000000104064000\nAlibabaCloudRUM:arm64%3BAB7B3A8E-6CEE-325D-BCBB-8DA50E61804F%3B0x0000000106660000\nlibdispatch.dylib:arm |
| ExceptionThreadId | string | No | The ID of the exception thread. | 16643 |
| RegionId | string | No | The region ID. | cn-hangzhou |
| SourcemapType | string | No | The parsing type. Valid values:
| source-map |
| ExtraInfo | string | No | Extra information about iOS symbol tables. You can leave this parameter empty. | GraphicsServices:system/GraphicsServices/85419099-269B-336D-86B4-0D52D0FF6923/GraphicsServices;WebCore:system/WebCore/BF44A3F4-85D4-38C8-BF26-197F06ADE273/WebCore |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "B6A00968-82A8-4F14-9D1B-B53827DB****",
"Code": 200,
"Success": true,
"Message": "Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries.",
"HttpStatusCode": 200,
"Data": {
"ThreadId": 16643,
"Lines": [
"\"CoreFoundation 0x00000001aa66a678 0x00000001aa57e000 + 968312\",\n \"libobjc.A.dylib 0x00000001a2917c80 0x00000001a28ec000 + 179328\""
],
"CrashReason": "EXC_BAD_ACCESS / KERN_INVALID_ADDRESS",
"CrashAddress": "0x1",
"ThreadInfoList": [
{
"ThreadTag": "Thread 0 (crashed)",
"ThreadDetail": "0 libsystem_platform.dylib + 0x1ab5\n rax = 0x0000000000000001 rdx = 0x0000000000000064\n rcx = 0xffffffffffffffff rbx = 0x0000000107701bd0\n rsi = 0x0101010101010101 rdi = 0x0000000000000001\n rbp = 0x00007ff7b8d64300 rsp = 0x00007ff7b8d64300\n r8 = 0x000000000000000a r9 = 0x0000000000000000\n r10 = 0x0000000000000001 r11 = 0x0000000000000247\n r12 = 0x00007ff7b8d64390 r13 = 0x0000000000000000\n r14 = 0x000000010719d770 r15 = 0x00007ff7b8d64500\n rip = 0x00007ff807a40ab5\n Found by: given as instruction pointer in context\n 1 alibabacloud_rum_example + 0x2ad1\n rbp = 0x00007ff7b8d64310 rsp = 0x00007ff7b8d64310\n rip = 0x000000010719dad1\n Found by: previous frame's frame pointer\n 2 alibabacloud_rum_example + 0x2a3b\n rbp = 0x00007ff7b8d64360 rsp = 0x00007ff7b8d64320\n rip = 0x000000010719da3b\n Found by: previous frame's frame pointer\n 3 0x7ff807688345\n rbp = 0x00007ff7b8d64580 rsp = 0x00007ff7b8d64370\n rip = 0x00007ff807688345\n Found by: previous frame's frame pointer"
}
],
"ModuleName": "alibabacloud_rum_example",
"Uuid": "9032259CEB9130E780C6DE8FDECCD7990",
"BinaryImages": "04B5B216682E40BF9BBE9698E3F98CAA0,libcurl.4.dylib;7878DB3CF21A3C13A203B7E3B0FA66250,libalibabacloud_rum.dylib;0F9F96FE6B1C3253A33AC9E4A0C2A3860,libsystem_kernel.dylib;3DF3256F466E37BCB995A5A9956E14150,libsystem_pthread.dylib;000000000000000000000000000000000,Security;EA4B83A319EB3E15B22CDF035DBD49250,alibabacloud_rum_example;710BB12EEEC744BAB41D1849CA3AD8021,LTSDK.pdb;EE330BA9C49E4730AA15A2B7C0BB2CAE1,JBLive.pdb"
}
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2024-12-20 | The request parameters of the API has changed | View Change Details |
| 2024-11-27 | The response structure of the API has changed | View Change Details |
| 2024-10-17 | The response structure of the API has changed | View Change Details |
| 2024-06-20 | The request parameters of the API has changed | View Change Details |
