diff --git a/plugin-server/src/main/ingestion-queues/session-recording/services/replay-events-ingester.ts b/plugin-server/src/main/ingestion-queues/session-recording/services/replay-events-ingester.ts index de2fee414d49c..9af3a1777d5da 100644 --- a/plugin-server/src/main/ingestion-queues/session-recording/services/replay-events-ingester.ts +++ b/plugin-server/src/main/ingestion-queues/session-recording/services/replay-events-ingester.ts @@ -138,7 +138,10 @@ export class ReplayEventsIngester { if (replayRecord !== null) { const asDate = DateTime.fromSQL(replayRecord.first_timestamp) if (!asDate.isValid || Math.abs(asDate.diffNow('day').days) >= 7) { - const eventTypes = rrwebEvents.map((event) => event.type) + const eventTypes = rrwebEvents.map((event) => ({ + type: event.type, + timestamp: event.timestamp, + })) const customEvents = rrwebEvents.filter((event) => event.type === RRWebEventType.Custom) await captureIngestionWarning( new KafkaProducerWrapper(this.producer),