This commit is contained in:
mats committed 2026-09-19 14:13:43 +02:00
1 parent 49f9bb3458
commit 7436966689
22 files changed
+989 -125

No files matched your search

+4
View File
@@ -74,6 +74,8 @@ export interface RumTimelineEntry {
category: "session-start" | "navigation" | "fetch" | "xhr" | "console.error" | "js-error" | "http-failure"
message: string
severe: boolean
durationMs?: number
traceId?: string
}
export interface RumSession {
@@ -273,6 +275,8 @@ export function buildRumSessions(logs: LogEntry[]): RumSession[] {
: "navigation",
message: crumb.message,
severe: crumb.category === "console.error" || isFailedRequestBreadcrumb(crumb.message),
durationMs: typeof crumb.d === "number" ? crumb.d : undefined,
traceId: crumb.tid || undefined,
})
}
for (const err of errors) {