include db for gitea build
This commit is contained in:
1 parent
8de4a2e010
commit
645f923175
33 files changed
+1490
-150
No files matched your search
@@ -31,6 +31,12 @@ type event struct {
|
||||
IsCancellation uint8 `json:"isCancellation"`
|
||||
Message string `json:"messageNormalized"`
|
||||
SpanName string `json:"spanName"`
|
||||
// Optional trace-resolved fields (internal/tracectx); absent in older exports.
|
||||
ClientIP string `json:"clientIp"`
|
||||
UAClass string `json:"uaClass"`
|
||||
IsDuplicate uint8 `json:"isDuplicate"`
|
||||
IsRootCause uint8 `json:"isRootCause"`
|
||||
HasUpstream uint8 `json:"hasUpstream"`
|
||||
}
|
||||
|
||||
func main() {
|
||||
@@ -95,6 +101,7 @@ func readEvents(path string) []features.Event {
|
||||
IsError: item.IsError != 0, StatusClass: item.StatusClass, DurationMS: item.DurationMS, TraceID: item.TraceID,
|
||||
PatternSignature: item.PatternSignature, IssueFingerprint: item.IssueFingerprint, IsRetry: item.IsRetry != 0,
|
||||
IsTimeout: item.IsTimeout != 0, IsCancellation: item.IsCancellation != 0, Message: item.Message, SpanName: item.SpanName,
|
||||
ClientIP: item.ClientIP, UAClass: item.UAClass, IsDuplicate: item.IsDuplicate != 0, IsRootCause: item.IsRootCause != 0, HasUpstream: item.HasUpstream != 0,
|
||||
})
|
||||
}
|
||||
if err := scanner.Err(); err != nil {
|
||||
|
||||
Reference in new issue
Block a user