fix: 初验针对修改
This commit is contained in:
@@ -30,6 +30,11 @@ type LogEvent struct {
|
||||
ResourceID string `gorm:"size:128;index" json:"resource_id"`
|
||||
// ResourceName 表示关联到的资源名称。
|
||||
ResourceName string `gorm:"size:256" json:"resource_name"`
|
||||
// BusinessSystemID 关联业务系统。
|
||||
BusinessSystemID *uint `gorm:"index" json:"business_system_id,omitempty"`
|
||||
// TraceID 和 SpanID 用于从日志定位调用链。
|
||||
TraceID string `gorm:"size:32;index" json:"trace_id,omitempty"`
|
||||
SpanID string `gorm:"size:16;index" json:"span_id,omitempty"`
|
||||
// MatchMethod 表示资源命中方式(ip/hostname/none)。
|
||||
MatchMethod string `gorm:"size:32" json:"match_method"`
|
||||
// DispatchStatus 表示告警分发状态(not_applicable/pending/retrying/sent/dead)。
|
||||
|
||||
Reference in New Issue
Block a user