告警标签TOP
POST
https://api.flashcat.cloud/insight/alert/topk-by-label
最后修改时间:2025-01-08 02:51:56
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/insight/alert/topk-by-label?app_key' \
--header 'Content-Type: application/json' \
--data-raw '{
"start_time": 0,
"end_time": 0,
"team_ids": [
0
],
"is_my_team": true,
"channel_ids": [
0
],
"severities": [
"Info"
],
"time_zone": "Asia/Shanghai",
"orderby": "total_alert_cnt",
"asc": true,
"k": 1,
"label": "check"
}'
响应示例响应示例
{
"error": {
"code": "string",
"message": "string"
},
"data": [
{
"total_alert_cnt": 11,
"total_alert_event_cnt": 11,
"label": "HTTP响应出错"
},
{
"total_alert_cnt": 1,
"total_alert_event_cnt": 1,
"label": "cpu.ide<28"
}
]
}
请求参数
Body 参数application/json