Queries abnormal Insights events within a specified time range.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| Pid |
string |
No |
The ID of the application. |
aokcdqn3ly@a195c6d6421**** |
| StartTime |
string |
Yes |
The beginning of the time range to query. The value is a timestamp. |
1595174400000 |
| EndTime |
string |
Yes |
The end of the time range to query. The value is a timestamp. |
1480607940000 |
| InsightsTypes |
string |
No |
The event types to query. Separate multiple types with commas (,). If not specified, all event types are returned.
|
errorIncrease,topErrorIncrease,topExceptionIncrease,topRtIncrease,rtIncrease |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
6F1174DC-6085-5353-AAE7-D4ADCD****** |
| InsightsEvents |
array<object> |
The list of Insights events. |
|
|
object |
|||
| Title |
string |
The title of the event. |
应用服务整体平均响应时间突增 |
| Desc |
string |
The description of the event. |
应用【sd】【HTTP】服务整体的响应时间在【2022-07-27 10:57:00】出现突增 |
| Type |
string |
The type of the event. |
rtIncrease |
| Pid |
string |
The ID of the application associated with the event. |
dsv9zcel92@7da413b****** |
| Level |
string |
The severity of the event. |
P3 |
| Date |
integer |
The timestamp when the event occurred. |
1658890560 |
| ProblemId |
string |
The problem identifier. |
erep3o9zue@01ebe697ab70566|@1499161100890550|@cn-hangzhou|@1701841800000|@1701842040000|@daa6c51a-3c44-4d57-9548-4e212c****** |
Examples
Success response
JSON format
{
"RequestId": "6F1174DC-6085-5353-AAE7-D4ADCD******",
"InsightsEvents": [
{
"Title": "应用服务整体平均响应时间突增",
"Desc": "应用【sd】【HTTP】服务整体的响应时间在【2022-07-27 10:57:00】出现突增",
"Type": "rtIncrease",
"Pid": "dsv9zcel92@7da413b******",
"Level": "P3",
"Date": 1658890560,
"ProblemId": "erep3o9zue@01ebe697ab70566|@1499161100890550|@cn-hangzhou|@1701841800000|@1701842040000|@daa6c51a-3c44-4d57-9548-4e212c******"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.