Skip to content

Commit

Permalink
Merge branch 'main' into bcaudan/views-url
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaudan committed Sep 23, 2021
2 parents 47b77f2 + a4c60e6 commit 0ca461a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/rum-core/src/domain/assembly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,18 @@ export function startRumAssembly(
},
})
}
if (serverRumEvent.session.has_replay && serverRumEvent._dd.session?.plan === RumSessionPlan.LITE) {
addMonitoringMessage('lite session with replay', {
debug: {
eventType: serverRumEvent.type,
viewId: serverRumEvent.view.id,
sessionId: serverRumEvent.session.id,
replayPlan: session.hasReplayPlan(),
litePlan: session.hasLitePlan(),
docVersion: serverRumEvent._dd.document_version as number | undefined,
},
})
}
lifeCycle.notify(LifeCycleEventType.RUM_EVENT_COLLECTED, serverRumEvent)
}
}
Expand Down

0 comments on commit 0ca461a

Please sign in to comment.