From 2fbe9ac3e3af6b223b2499cb060787f53e382c07 Mon Sep 17 00:00:00 2001 From: Bastien Caudan Date: Fri, 24 Sep 2021 11:00:55 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8A=20Add=20extra=20monitoring=20info?= =?UTF-8?q?=20on=20lite=20session=20with=20replay=20(#1072)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/rum-core/src/domain/assembly.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/rum-core/src/domain/assembly.ts b/packages/rum-core/src/domain/assembly.ts index b27555e8ce..dcd66269bd 100644 --- a/packages/rum-core/src/domain/assembly.ts +++ b/packages/rum-core/src/domain/assembly.ts @@ -13,6 +13,7 @@ import { RawError, createEventRateLimiter, EventRateLimiter, + getCookie, } from '@datadog/browser-core' import { RumEventDomainContext } from '../domainContext.types' import { @@ -140,9 +141,8 @@ export function startRumAssembly( 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, + event: serverRumEvent, + _dd_s: getCookie('_dd_s'), }, }) }