服务延迟报警 [no ci]

This commit is contained in:
naiba
2022-09-17 10:30:32 +08:00
parent eb07b9468b
commit c60ebd1bae
8 changed files with 90 additions and 26 deletions

View File

@@ -48,6 +48,10 @@ type Monitor struct {
NotificationTag string // 当前服务监控所属的通知组
Cover uint8
MinLatency float32
MaxLatency float32
LatencyNotify bool
SkipServers map[uint64]bool `gorm:"-" json:"-"`
CronJobID cron.EntryID `gorm:"-" json:"-"`
}