You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/common/config/init-types.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@
35
35
* @property {Object} [metrics]
36
36
* @property {boolean} [metrics.enabled] - Turn on/off the metrics feature (on by default).
37
37
* @property {boolean} [metrics.autoStart] - If true, the agent will automatically start the metrics feature. Otherwise, it will be in a deferred state until the `start` API method is called.
38
-
* @property {Array<Object>} [obfuscate] - Array of regexp and corresponding replacement patterns for obfuscating data.
38
+
* @property {{regex: regex | string, replacement: string}} [obfuscate] - Array of regexp and corresponding replacement patterns for obfuscating data.
39
39
* @property {Object} [page_action]
40
40
* @property {boolean} [page_action.enabled] - Must be true to allow PageAction events to be captured.
Copy file name to clipboardExpand all lines: src/features/session_replay/aggregate/index.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -210,7 +210,7 @@ export class Aggregate extends AggregateBase {
210
210
makeHarvestPayload(){
211
211
if(this.mode!==MODE.FULL||this.blocked)return// harvests should only be made in FULL mode, and not if the feature is blocked
212
212
if(this.shouldCompress&&!this.gzipper)return// if compression is enabled, but the libraries have not loaded, wait for them to load
213
-
if(!this.recorder||!this.timeKeeper?.ready||!this.recorder.hasSeenSnapshot)return// if the recorder or the timekeeper is not ready, or the recorder has not yet seen a snapshot, do not harvest
213
+
if(!this.recorder||!this.timeKeeper?.ready||!(this.recorder.hasSeenSnapshot&&this.recorder.hasSeenMeta))return// if the recorder or the timekeeper is not ready, or the recorder has not yet seen a snapshot, do not harvest
214
214
215
215
constrecorderEvents=this.recorder.getEvents()
216
216
// get the event type and use that to trigger another harvest if needed
@@ -241,7 +241,6 @@ export class Aggregate extends AggregateBase {
241
241
// TODO -- Gracefully handle the buffer for retries.
//* dont let the EventBuffer class double evaluate the event data size, it's a performance burden and we have special reasons to do it outside the event buffer */
0 commit comments