Skip to content

Commit 962cb1b

Browse files
committed
Add Session Replay experimental features config
1 parent f300692 commit 962cb1b

4 files changed

Lines changed: 17 additions & 0 deletions

File tree

lib/cjs/generated/rum.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,6 +1359,10 @@ export interface CommonProperties {
13591359
* The percentage of sessions with traced resources
13601360
*/
13611361
readonly trace_sample_rate?: number;
1362+
/**
1363+
* Session Replay experimental features enabled in the SDK configuration
1364+
*/
1365+
readonly session_replay_experimental_features?: string[];
13621366
[k: string]: unknown;
13631367
};
13641368
/**

lib/esm/generated/rum.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,6 +1359,10 @@ export interface CommonProperties {
13591359
* The percentage of sessions with traced resources
13601360
*/
13611361
readonly trace_sample_rate?: number;
1362+
/**
1363+
* Session Replay experimental features enabled in the SDK configuration
1364+
*/
1365+
readonly session_replay_experimental_features?: string[];
13621366
[k: string]: unknown;
13631367
};
13641368
/**

samples/rum-events/view.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
"configuration": {
111111
"session_sample_rate": 12.45,
112112
"session_replay_sample_rate": 100,
113+
"session_replay_experimental_features": ["layer_tree_recording"],
113114
"start_session_replay_recording_manually": true
114115
},
115116
"profiling": {

schemas/rum/_common-schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,14 @@
469469
"minimum": 0,
470470
"maximum": 100,
471471
"readOnly": true
472+
},
473+
"session_replay_experimental_features": {
474+
"type": "array",
475+
"description": "Session Replay experimental features enabled in the SDK configuration",
476+
"items": {
477+
"type": "string"
478+
},
479+
"readOnly": true
472480
}
473481
}
474482
},

0 commit comments

Comments
 (0)