修复bug

This commit is contained in:
2025-11-18 15:46:32 +08:00
parent 98317dce1f
commit 32abff626e
3 changed files with 25 additions and 23 deletions

View File

@@ -209,20 +209,20 @@ type CollectionConfig struct {
}
type NotificationIntervalsConfig struct {
// DebugIntervalMinutes Debug级别告警的通知间隔分钟
DebugIntervalMinutes uint32 `yaml:"debug"`
// InfoIntervalMinutes Info级别告警的通知间隔分钟
InfoIntervalMinutes uint32 `yaml:"info"`
// WarnIntervalMinutes Warn级别告警的通知间隔分钟
WarnIntervalMinutes uint32 `yaml:"warn"`
// ErrorIntervalMinutes Error级别告警的通知间隔分钟
ErrorIntervalMinutes uint32 `yaml:"error"`
// DPanicIntervalMinutes DPanic级别告警的通知间隔分钟
DPanicIntervalMinutes uint32 `yaml:"dpanic"`
// PanicIntervalMinutes Panic级别告警的通知间隔分钟
PanicIntervalMinutes uint32 `yaml:"panic"`
// FatalIntervalMinutes Fatal级别告警的通知间隔分钟
FatalIntervalMinutes uint32 `yaml:"fatal"`
// Debug Debug级别告警的通知间隔分钟
Debug uint32 `yaml:"debug" json:"debug,omitempty"`
// Info Info级别告警的通知间隔分钟
Info uint32 `yaml:"info" json:"info,omitempty"`
// Warn Warn级别告警的通知间隔分钟
Warn uint32 `yaml:"warn" json:"warn,omitempty"`
// Error Error级别告警的通知间隔分钟
Error uint32 `yaml:"error" json:"error,omitempty"`
// DPanic DPanic级别告警的通知间隔分钟
DPanic uint32 `yaml:"dpanic" json:"dpanic,omitempty"`
// Panic Panic级别告警的通知间隔分钟
Panic uint32 `yaml:"panic" json:"panic,omitempty"`
// Fatal Fatal级别告警的通知间隔分钟
Fatal uint32 `yaml:"fatal" json:"fatal,omitempty"`
}
// AlarmNotificationConfig 告警通知配置