feat(platform): add alert policy escalation

This commit is contained in:
lingniu
2026-07-04 15:50:45 +08:00
parent ef45a75612
commit 1838da4b02
7 changed files with 66 additions and 18 deletions

View File

@@ -312,10 +312,12 @@ type QualityAlertRule struct {
}
type QualityNotificationPolicy struct {
Name string `json:"name"`
Target string `json:"target"`
Channel string `json:"channel"`
Condition string `json:"condition"`
Name string `json:"name"`
Target string `json:"target"`
Channel string `json:"channel"`
Condition string `json:"condition"`
EscalationMinutes int `json:"escalationMinutes"`
AcceptanceCriteria string `json:"acceptanceCriteria"`
}
type QualityPriorityIssue struct {
@@ -344,10 +346,10 @@ type OpsHealth struct {
}
type RuntimeInfo struct {
RequestTimeoutMs int `json:"requestTimeoutMs"`
AMapWebJSConfigured bool `json:"amapWebJsConfigured"`
AMapSecurityProxyEnabled bool `json:"amapSecurityProxyEnabled"`
AMapSecurityCodeExposed bool `json:"amapSecurityCodeExposed"`
AMapSecurityServiceHost string `json:"amapSecurityServiceHost"`
PlatformRelease string `json:"platformRelease"`
RequestTimeoutMs int `json:"requestTimeoutMs"`
AMapWebJSConfigured bool `json:"amapWebJsConfigured"`
AMapSecurityProxyEnabled bool `json:"amapSecurityProxyEnabled"`
AMapSecurityCodeExposed bool `json:"amapSecurityCodeExposed"`
AMapSecurityServiceHost string `json:"amapSecurityServiceHost"`
PlatformRelease string `json:"platformRelease"`
}