File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -936,6 +936,7 @@ export class ReplayContainer implements ReplayContainerInterface {
936936 urls,
937937 replay_id : replayId ,
938938 segment_id,
939+ replay_type : this . session ?. sampled ,
939940 } ;
940941
941942 const replayEvent = await getReplayEvent ( { scope, client, event : baseEvent } ) ;
@@ -951,7 +952,6 @@ export class ReplayContainer implements ReplayContainerInterface {
951952 ...replayEvent . tags ,
952953 sessionSampleRate : this . _options . sessionSampleRate ,
953954 errorSampleRate : this . _options . errorSampleRate ,
954- replayType : this . session ?. sampled ,
955955 } ;
956956
957957 /*
@@ -970,6 +970,7 @@ export class ReplayContainer implements ReplayContainerInterface {
970970 ],
971971 "replay_id": "eventId",
972972 "segment_id": 3,
973+ "replay_type": "error",
973974 "platform": "javascript",
974975 "event_id": "generated-uuid",
975976 "environment": "production",
@@ -985,7 +986,6 @@ export class ReplayContainer implements ReplayContainerInterface {
985986 "tags": {
986987 "sessionSampleRate": 1,
987988 "errorSampleRate": 0,
988- "replayType": "error"
989989 }
990990 }
991991 */
You can’t perform that action at this time.
0 commit comments