修复bug
This commit is contained in:
@@ -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 告警通知配置
|
||||
|
||||
Reference in New Issue
Block a user