参数 | 类型 | 示例值 | 描述 |
Data | - | 告警历史数据记录。 | |
PageSize | Integer | 30 | 分页查询参数,用于设置每页行数,默认值为 30。 |
PageNumber | Integer | 1 | 分页查询参数,用于设置当前页码,默认值为 1。 |
TotalCount | Integer | 2 | 符合条件的告警策略数量。 |
参数 | 类型 | 示例值 | 描述 |
Id | String | alert_20***********23**** | 本周期告警 ID。 |
Type | String | alert | 告警类型,枚举值包括:
|
EndAt | String | 2026-06-08T12:05:00 | 本周期告警结束时间。 |
Level | String | warning | 告警等级,枚举值包括:
|
CreateAt | String | 2026-06-08T12:00:00 | 本周期告警开始时间。 |
EvaluationCount | Integer | 3 | 触发告警需要持续的周期,用于实现 M 个周期 N 次告警。其中,EvaluationInterval 表示 M,EvaluationCount 表示 N。 |
SendAlertResult | - | 告警发送结果。 | |
MetricConditions | - | 告警指标条件。 | |
EvaluationInterval | Integer | 5 | 检查周期,用于实现 M 个周期 N 次告警。其中,EvaluationInterval 表示 M,EvaluationCount 表示 N。 |
参数 | 类型 | 示例值 | 描述 |
Status | String | sent | 告警发送状态,枚举值包括:
|
IsSendAlert | Boolean | true | 是否发送告警。
|
SilencePolicyId | String | sp_20***********23**** | 告警屏蔽策略 ID,如果存在此 ID,则表示被屏蔽。 |
SendAlertNotifications | - | 告警通知记录。 |
参数 | 类型 | 示例值 | 描述 |
Metric | String | AVG(实例/CPU利用率)[1m] | 指标的语义化描述。 |
Condition | String | alert | 指标状态,枚举值包括:
|
CurrentValue | String | 86.4 | 指标的当前值。 |
TriggerCondition | String | 实例/CPU利用率 统计在最近1个周期内平均值 >= 90%,且1个周期内1次满足条件(1周期=1分钟) | 指标触发条件的语义化描述。 |
参数 | 类型 | 示例值 | 描述 |
Type | String | alert | 告警类型,枚举值包括:
|
Level | String | warning | 告警等级,枚举值包括:
|
ErrMsg | String | {"body":"ok","code":200} | 告警发送状态描述。 |
SendAt | String | 2026-06-08T12:01:00 | 告警发送时间。 |
Status | String | sent | 告警发送状态,枚举值包括:
|
SendAlertOOSs | - | 告警发送 OOS (运维编排) 记录 | |
SilencePolicyId | String | sp_20***********23**** | 告警屏蔽策略 ID,若存在此 ID 则表示被屏蔽。 |
SendAlertContacts | - | 告警发送联系人记录。 | |
SendAlertWebhooks | - | 告警发送 Webhook 记录。 |
参数 | 类型 | 示例值 | 描述 |
ErrMsg | String | {"body":"ok","code":200} | 告警发送状态描述。 |
Region | String | cn-north-1 | 地域。 |
Status | String | sent | 告警发送状态,枚举值包括:
|
Success | Boolean | true | 是否成功发送。 |
OrchestrationPlanId | String | oop-20***********23**** | 运维编排计划 ID。 |
参数 | 类型 | 示例值 | 描述 |
ContactName | String | user_20***********23**** | 告警发送联系人名称。 |
DutyScheduleId | String | ds_20***********23**** | 值班计划 ID。 |
ContactSendResults | - | 告警发送联系人记录。 |
参数 | 类型 | 示例值 | 描述 |
ErrMsg | String | {"body":"ok","code":200} | 告警发送状态描述。 |
Status | String | sent | 告警发送状态,枚举值包括:
|
Success | Boolean | true | 是否成功发送。 |
AlertMethod | String | Email | 告警发送联系人渠道,示例值 Phone、Email、SMS。 |
AlertMethodVal | String | u***@example.com | 联系人值,例如:邮箱地址、电话号码等。 |