Retrieves hot spot tracking results.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:GetHotspotTracking |
get |
*All Resource
|
None | None |
Request syntax
POST /api/v1/openapi/proxy/post/livetrace_hotspot_tracking HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| beg_end |
integer |
Yes |
The end time. |
1725413948000 |
| beg_start |
integer |
Yes |
The start time. |
1725410348000 |
| hot_type |
string |
Yes |
The hot spot type. |
alloc |
| instance |
string |
Yes |
The instance ID. |
i-2ze5ru5rjurix7f71sxv |
| pid |
integer |
No |
The process PID. |
1657494 |
| table |
string |
Yes |
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 |
object |
The returned data. |
|
| flame |
object |
The flame graph data. |
|
| columns |
array |
The list of field names. |
|
|
string |
The field name. |
"sample","time" |
|
| values |
array |
The list of flame graph data. |
|
|
array |
The flame graph data. |
||
|
string |
The timestamp and graph data. |
"{\"flamebearer\":{\"names\":[\"total\",\"host\",\"AliYunDun:1657494\",\"?5043000000000000\",\"std::basic_string::basic_string\",\"__memmove_ssse3_back\",\"_init\",\"std::string::_Rep::_M_set_length_and_sharable\",\"std::string::_S_copy_chars\",\"__strlen_sse2_pminub\",\"__read_nocancel\",\"system_call_fastpath\",\"SyS_read\",\"vfs_read\",\"seq_read\",\"proc_single_show\",\"proc_tgid_stat\",\"do_task_stat\",\"__delayacct_blkio_ticks\",\"_raw_spin_unlock_irqrestore\",\"proc_pid_status\",\"seq_bitmap\",\"bitmap_scnprintf\",\"bitmap_scnprintf.part.0\",\"scnprintf\",\"vscnprintf\",\"vsnprintf\",\"format_decode\",\"kernfs_fop_read\",\"kernfs_seq_show\",\"sysfs_kf_seq_show\",\"dev_attr_show\",\"part_stat_show\",\"part_in_flight\",\"blk_mq_in_flight\",\"blk_mq_queue_tag_busy_iter\",\"copy_user_enhanced_fast_string\",\"proc_reg_read\",\"meminfo_proc_show\",\"get_vmalloc_info\",\"aqs::CThreadUtil::ThreadFunc\",\"operatordelete\",\"CProtocolHandlerThread::run\",\"CSingleton::GetInstance\",\"CResourceMonitor::SetThreadHeartbeat\",\"CMonitor::SetThreadHeartbeat\",\"aqs::CMutexLockUtil::CMutexLockUtil\",\"aqs::CGetTickClock::GetClock\",\"__pthread_rwlock_rdlock\",\"pthread_rwlock_rdlock\",\"aqs::CReadLockUtil::CReadLockUtil\",\"std::map::find\",\"std::_Rb_tree\",\"std::less::operator\",\"std::_Rb_tree_iterator::_Rb_tree_iterator\",\"__GI___pthread_mutex_lock\",\"pthread_mutex_lock\",\"__nanosleep_nocancel\",\"SyS_nanosleep\",\"__check_object_size\",\"__virt_addr_valid\",\"hrtimer_nanosleep\",\"hrtimer_init\",\"do_nanosleep\",\"schedule\",\"__schedule\",\"rcu_note_context_switch\",\"finish_task_switch\",\"hrtimer_start_range_ns\",\"lock_hrtimer_base.isra.20\",\"_raw_spin_lock_irqsave\",\"__audit_syscall_entry\",\"CIpcPrivate::run\",\"std::list::empty\",\"stIpcRawMsg::stIpcRawMsg\",\"CIpcPrivate::HandleRecvRawMsg\",\"std::basic_string::~basic_string\",\"CIpcPrivate::OnRecvClientData\",\"CIpcPrivate::InsertMsg\",\"std::list::push_back\",\"std::list::_M_insert\",\"std::list::_M_create_node\",\"__gnu_cxx::new_allocator::allocate\",\"ParseIpcDataEx\",\"boolCSimpleSerialization::GetInt\",\"CSimpleSerialization::GetMemberForInteger\",\"CIpcPrivate::HandleSendMsg\",\"CIpcPrivate::SendIpcMsgPri\",\"CSelfGuardIpc::IpcRecvMsg\",\"CNetWork::run\",\"CNetWork::PeekRecvMessage\",\"CNetWork::ReadOneMessage\",\"evthread_use_pthreads\",\"pthread_self\",\"bufferevent_get_input\",\"CAtomicInt64::Get\",\"CNetWork::PeekSendMessage\",\"CTcpMessageBuffer::MarkSendMessage\",\"CNetWork::GetSendMessage\",\"__SendMessage::__SendMessage\",\"__epoll_wait_nocancel\",\"system_call_after_swapgs\",\"!48c69361\",\"!48c672e9\",\"!48c20f45\",\"!48c2106d\",\"!48c2eca3\",\"SyS_epoll_wait\",\"ep_poll\",\"__fdget\",\"__fget_light\"],\"maxSelf\":92,\"numTicks\":268,\"levels\":[[0,268,0,0],[0,268,0,1],[0,268,92,2],[92,10,0,3,0,6,1,10,0,139,14,40,0,7,0,100,0,14,0,57],[92,8,0,4,0,2,2,9,1,5,0,11,14,3,3,41,0,36,0,42,0,3,3,6,0,45,3,57,0,15,1,72,0,3,3,43,0,20,0,89,0,1,1,101,0,1,0,102,0,5,0,11,0,1,1,101,0,13,0,11],[92,1,1,5,0,2,2,6,0,4,4,7,0,1,1,8,3,5,0,12,17,1,1,43,0,5,5,44,0,30,1,45,6,41,1,11,0,1,1,71,1,1,1,73,0,6,0,45,0,2,2,74,0,3,0,75,0,2,0,86,3,7,0,90,0,1,1,95,0,2,0,45,0,5,0,96,0,1,1,76,0,3,3,99,0,1,1,6,1,1,0,103,0,4,0,107,0,1,1,109,1,13,0,58],[103,5,0,13,24,1,1,46,0,3,3,47,0,5,5,43,0,16,0,44,0,1,1,55,0,1,1,56,0,2,2,6,7,39,1,58,0,1,1,36,3,3,0,44,0,1,1,6,0,2,2,51,2,1,1,76,0,2,0,77,0,1,0,87,0,1,1,6,3,7,1,91,1,2,0,44,0,3,3,97,0,2,0,98,6,1,0,104,0,2,0,108,0,2,0,109,2,2,2,59,0,11,0,61],[103,2,0,14,0,1,0,28,0,1,1,36,0,1,0,37,33,1,1,43,0,2,2,48,0,2,2,49,0,2,2,6,0,2,2,50,0,7,0,51,12,4,2,59,0,1,1,60,0,33,1,61,4,1,1,49,0,1,1,50,0,1,0,51,6,1,0,78,0,1,0,83,0,1,0,88,5,1,1,92,0,1,1,6,0,1,1,93,0,3,3,94,1,1,0,51,0,1,1,48,3,1,1,55,0,1,1,6,6,1,0,105,0,2,2,19,0,2,2,110,4,11,0,63],[103,2,0,15,0,1,0,14,1,1,0,14,42,6,3,52,0,1,1,6,14,2,2,60,2,2,2,62,0,30,0,63,6,1,1,52,6,1,0,79,0,1,0,84,0,1,1,9,12,1,1,52,12,1,1,106,8,5,1,64,0,6,0,68],[103,1,0,16,0,1,0,20,0,1,0,29,1,1,0,38,45,2,2,53,0,1,1,54,21,15,0,64,0,15,0,68,13,1,0,80,0,1,1,85,36,4,0,65,0,6,6,19],[103,1,0,17,0,1,0,21,0,1,0,30,1,1,1,39,69,15,0,65,0,1,0,69,0,14,14,19,13,1,0,81,37,4,4,67],[103,1,0,18,0,1,0,22,0,1,0,31,71,2,2,66,0,13,13,67,0,1,1,70,27,1,1,82],[103,1,1,19,0,1,0,23,0,1,0,32],[104,1,0,24,0,1,0,33],[104,1,0,25,0,1,0,34],[104,1,0,26,0,1,1,35],[104,1,1,27]]},\"version\":1,\"metadata\":{\"name\":\"liveTrace\",\"sampleRate\":100,\"spyName\":\"cprof\",\"units\":\"samples\",\"maxNodes\":1024,\"appName\":\"liveTrace.profiling\",\"format\":\"single\"}}" |
|
| series |
object |
The data list. |
|
| columns |
array |
The list of field names. |
|
|
string |
The field name. |
"time", "EXPR$1" |
|
| values |
array |
The list of hot spot time series data. |
|
|
array |
The hot spot time series data. |
||
|
string |
The hot spot sampling value. |
"2024-09-04T00:39:50Z", "1" |
|
| message |
string |
The response message. |
Success |
| requestId |
string |
The request ID. |
2D693121-C925-5154-8DF6-C09A8B369822 |
Examples
Success response
JSON format
{
"code": "SysomOpenAPI.ServerError",
"data": {
"flame": {
"columns": [
"\"sample\",\"time\""
],
"values": [
[
"\"{\\\"flamebearer\\\":{\\\"names\\\":[\\\"total\\\",\\\"host\\\",\\\"AliYunDun:1657494\\\",\\\"?5043000000000000\\\",\\\"std::basic_string::basic_string\\\",\\\"__memmove_ssse3_back\\\",\\\"_init\\\",\\\"std::string::_Rep::_M_set_length_and_sharable\\\",\\\"std::string::_S_copy_chars\\\",\\\"__strlen_sse2_pminub\\\",\\\"__read_nocancel\\\",\\\"system_call_fastpath\\\",\\\"SyS_read\\\",\\\"vfs_read\\\",\\\"seq_read\\\",\\\"proc_single_show\\\",\\\"proc_tgid_stat\\\",\\\"do_task_stat\\\",\\\"__delayacct_blkio_ticks\\\",\\\"_raw_spin_unlock_irqrestore\\\",\\\"proc_pid_status\\\",\\\"seq_bitmap\\\",\\\"bitmap_scnprintf\\\",\\\"bitmap_scnprintf.part.0\\\",\\\"scnprintf\\\",\\\"vscnprintf\\\",\\\"vsnprintf\\\",\\\"format_decode\\\",\\\"kernfs_fop_read\\\",\\\"kernfs_seq_show\\\",\\\"sysfs_kf_seq_show\\\",\\\"dev_attr_show\\\",\\\"part_stat_show\\\",\\\"part_in_flight\\\",\\\"blk_mq_in_flight\\\",\\\"blk_mq_queue_tag_busy_iter\\\",\\\"copy_user_enhanced_fast_string\\\",\\\"proc_reg_read\\\",\\\"meminfo_proc_show\\\",\\\"get_vmalloc_info\\\",\\\"aqs::CThreadUtil::ThreadFunc\\\",\\\"operatordelete\\\",\\\"CProtocolHandlerThread::run\\\",\\\"CSingleton::GetInstance\\\",\\\"CResourceMonitor::SetThreadHeartbeat\\\",\\\"CMonitor::SetThreadHeartbeat\\\",\\\"aqs::CMutexLockUtil::CMutexLockUtil\\\",\\\"aqs::CGetTickClock::GetClock\\\",\\\"__pthread_rwlock_rdlock\\\",\\\"pthread_rwlock_rdlock\\\",\\\"aqs::CReadLockUtil::CReadLockUtil\\\",\\\"std::map::find\\\",\\\"std::_Rb_tree\\\",\\\"std::less::operator\\\",\\\"std::_Rb_tree_iterator::_Rb_tree_iterator\\\",\\\"__GI___pthread_mutex_lock\\\",\\\"pthread_mutex_lock\\\",\\\"__nanosleep_nocancel\\\",\\\"SyS_nanosleep\\\",\\\"__check_object_size\\\",\\\"__virt_addr_valid\\\",\\\"hrtimer_nanosleep\\\",\\\"hrtimer_init\\\",\\\"do_nanosleep\\\",\\\"schedule\\\",\\\"__schedule\\\",\\\"rcu_note_context_switch\\\",\\\"finish_task_switch\\\",\\\"hrtimer_start_range_ns\\\",\\\"lock_hrtimer_base.isra.20\\\",\\\"_raw_spin_lock_irqsave\\\",\\\"__audit_syscall_entry\\\",\\\"CIpcPrivate::run\\\",\\\"std::list::empty\\\",\\\"stIpcRawMsg::stIpcRawMsg\\\",\\\"CIpcPrivate::HandleRecvRawMsg\\\",\\\"std::basic_string::~basic_string\\\",\\\"CIpcPrivate::OnRecvClientData\\\",\\\"CIpcPrivate::InsertMsg\\\",\\\"std::list::push_back\\\",\\\"std::list::_M_insert\\\",\\\"std::list::_M_create_node\\\",\\\"__gnu_cxx::new_allocator::allocate\\\",\\\"ParseIpcDataEx\\\",\\\"boolCSimpleSerialization::GetInt\\\",\\\"CSimpleSerialization::GetMemberForInteger\\\",\\\"CIpcPrivate::HandleSendMsg\\\",\\\"CIpcPrivate::SendIpcMsgPri\\\",\\\"CSelfGuardIpc::IpcRecvMsg\\\",\\\"CNetWork::run\\\",\\\"CNetWork::PeekRecvMessage\\\",\\\"CNetWork::ReadOneMessage\\\",\\\"evthread_use_pthreads\\\",\\\"pthread_self\\\",\\\"bufferevent_get_input\\\",\\\"CAtomicInt64::Get\\\",\\\"CNetWork::PeekSendMessage\\\",\\\"CTcpMessageBuffer::MarkSendMessage\\\",\\\"CNetWork::GetSendMessage\\\",\\\"__SendMessage::__SendMessage\\\",\\\"__epoll_wait_nocancel\\\",\\\"system_call_after_swapgs\\\",\\\"!48c69361\\\",\\\"!48c672e9\\\",\\\"!48c20f45\\\",\\\"!48c2106d\\\",\\\"!48c2eca3\\\",\\\"SyS_epoll_wait\\\",\\\"ep_poll\\\",\\\"__fdget\\\",\\\"__fget_light\\\"],\\\"maxSelf\\\":92,\\\"numTicks\\\":268,\\\"levels\\\":[[0,268,0,0],[0,268,0,1],[0,268,92,2],[92,10,0,3,0,6,1,10,0,139,14,40,0,7,0,100,0,14,0,57],[92,8,0,4,0,2,2,9,1,5,0,11,14,3,3,41,0,36,0,42,0,3,3,6,0,45,3,57,0,15,1,72,0,3,3,43,0,20,0,89,0,1,1,101,0,1,0,102,0,5,0,11,0,1,1,101,0,13,0,11],[92,1,1,5,0,2,2,6,0,4,4,7,0,1,1,8,3,5,0,12,17,1,1,43,0,5,5,44,0,30,1,45,6,41,1,11,0,1,1,71,1,1,1,73,0,6,0,45,0,2,2,74,0,3,0,75,0,2,0,86,3,7,0,90,0,1,1,95,0,2,0,45,0,5,0,96,0,1,1,76,0,3,3,99,0,1,1,6,1,1,0,103,0,4,0,107,0,1,1,109,1,13,0,58],[103,5,0,13,24,1,1,46,0,3,3,47,0,5,5,43,0,16,0,44,0,1,1,55,0,1,1,56,0,2,2,6,7,39,1,58,0,1,1,36,3,3,0,44,0,1,1,6,0,2,2,51,2,1,1,76,0,2,0,77,0,1,0,87,0,1,1,6,3,7,1,91,1,2,0,44,0,3,3,97,0,2,0,98,6,1,0,104,0,2,0,108,0,2,0,109,2,2,2,59,0,11,0,61],[103,2,0,14,0,1,0,28,0,1,1,36,0,1,0,37,33,1,1,43,0,2,2,48,0,2,2,49,0,2,2,6,0,2,2,50,0,7,0,51,12,4,2,59,0,1,1,60,0,33,1,61,4,1,1,49,0,1,1,50,0,1,0,51,6,1,0,78,0,1,0,83,0,1,0,88,5,1,1,92,0,1,1,6,0,1,1,93,0,3,3,94,1,1,0,51,0,1,1,48,3,1,1,55,0,1,1,6,6,1,0,105,0,2,2,19,0,2,2,110,4,11,0,63],[103,2,0,15,0,1,0,14,1,1,0,14,42,6,3,52,0,1,1,6,14,2,2,60,2,2,2,62,0,30,0,63,6,1,1,52,6,1,0,79,0,1,0,84,0,1,1,9,12,1,1,52,12,1,1,106,8,5,1,64,0,6,0,68],[103,1,0,16,0,1,0,20,0,1,0,29,1,1,0,38,45,2,2,53,0,1,1,54,21,15,0,64,0,15,0,68,13,1,0,80,0,1,1,85,36,4,0,65,0,6,6,19],[103,1,0,17,0,1,0,21,0,1,0,30,1,1,1,39,69,15,0,65,0,1,0,69,0,14,14,19,13,1,0,81,37,4,4,67],[103,1,0,18,0,1,0,22,0,1,0,31,71,2,2,66,0,13,13,67,0,1,1,70,27,1,1,82],[103,1,1,19,0,1,0,23,0,1,0,32],[104,1,0,24,0,1,0,33],[104,1,0,25,0,1,0,34],[104,1,0,26,0,1,1,35],[104,1,1,27]]},\\\"version\\\":1,\\\"metadata\\\":{\\\"name\\\":\\\"liveTrace\\\",\\\"sampleRate\\\":100,\\\"spyName\\\":\\\"cprof\\\",\\\"units\\\":\\\"samples\\\",\\\"maxNodes\\\":1024,\\\"appName\\\":\\\"liveTrace.profiling\\\",\\\"format\\\":\\\"single\\\"}}\"\n"
]
]
},
"series": {
"columns": [
"\"time\", \"EXPR$1\""
],
"values": [
[
"\"2024-09-04T00:39:50Z\", \"1\""
]
]
}
},
"message": "Success",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.