Retrieves hot spot analysis results.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:GetHotspotAnalysis |
get |
*All Resource
|
None | None |
Request syntax
POST /api/v1/openapi/proxy/post/livetrace_hotspot_analysis HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| appType |
string |
Yes |
The application type. |
GR |
| beg_end |
integer |
Yes |
The end time. |
1725413948000 |
| beg_start |
integer |
Yes |
The start time. |
1725410348000 |
| instance |
string |
Yes |
The instance ID. |
i-2ze5ru5rjurix7f71sxv |
| pid |
integer |
No |
The process PID. |
1657494 |
| table |
string |
No |
The name of the table to query. |
prof_on |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| code |
string |
The error code. |
SysomOpenAPI.ServerError |
| data |
string |
The returned data. |
"AliYunDun:1657494 process (1657494): Based on the provided hot spot call stack information, the hot spot is mainly concentrated on `__nanosleep_nocancel` and the related system call `SyS_nanosleep`, which indicates that the process is waiting for a specific time interval. This is usually caused by long sleep periods or high-frequency timed operations in the application, such as scheduled tasks and heartbeat detection.\n\nThe application code uses `nanosleep` to implement precise delay control when it needs to periodically perform certain checks or wait for external events. To optimize this situation, consider the following approaches:\n- Evaluate whether the frequency of scheduled tasks can be reduced.\n- Use condition variables instead of simple sleep waits to respond to faster event triggers.\n- If it is an I/O-intensive operation wait, consider optimizing the I/O path or improving I/O efficiency. Use the I/O diagnostic tool on the SysOM platform to further identify specific I/O bottlenecks." |
| message |
string |
The response message. |
success |
| requestId |
string |
Id of the request |
2D693121-C925-5154-8DF6-C09A8B369822 |
| success |
boolean |
Indicates whether the call was successful. |
True |
Examples
Success response
JSON format
{
"code": "SysomOpenAPI.ServerError",
"data": "\"AliYunDun:1657494 process (1657494): Based on the provided hot spot call stack information, the hot spot is mainly concentrated on `__nanosleep_nocancel` and the related system call `SyS_nanosleep`, which indicates that the process is waiting for a specific time interval. This is usually caused by long sleep periods or high-frequency timed operations in the application, such as scheduled tasks and heartbeat detection.\\n\\nThe application code uses `nanosleep` to implement precise delay control when it needs to periodically perform certain checks or wait for external events. To optimize this situation, consider the following approaches:\\n- Evaluate whether the frequency of scheduled tasks can be reduced.\\n- Use condition variables instead of simple sleep waits to respond to faster event triggers.\\n- If it is an I/O-intensive operation wait, consider optimizing the I/O path or improving I/O efficiency. Use the IO diagnostic tool on the SysOM platform to further locate specific I/O bottlenecks.\"",
"message": "\nsuccess",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822\n",
"success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.