Skip to content

Commit 976bc5e

Browse files
add @_dd.configuration.trace_sample_rate
1 parent 1e34da2 commit 976bc5e

3 files changed

Lines changed: 18 additions & 3 deletions

File tree

lib/cjs/generated/rum.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1676,9 +1676,13 @@ export interface CommonProperties {
16761676
*/
16771677
readonly session_replay_sample_rate?: number;
16781678
/**
1679-
* The percentage of views profiled
1679+
* The percentage of sessions profiled
16801680
*/
16811681
readonly profiling_sample_rate?: number;
1682+
/**
1683+
* The percentage of sessions with traced resources
1684+
*/
1685+
readonly trace_sample_rate?: number;
16821686
[k: string]: unknown;
16831687
};
16841688
/**

lib/esm/generated/rum.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1676,9 +1676,13 @@ export interface CommonProperties {
16761676
*/
16771677
readonly session_replay_sample_rate?: number;
16781678
/**
1679-
* The percentage of views profiled
1679+
* The percentage of sessions profiled
16801680
*/
16811681
readonly profiling_sample_rate?: number;
1682+
/**
1683+
* The percentage of sessions with traced resources
1684+
*/
1685+
readonly trace_sample_rate?: number;
16821686
[k: string]: unknown;
16831687
};
16841688
/**

schemas/rum/_common-schema.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,14 @@
416416
},
417417
"profiling_sample_rate": {
418418
"type": "number",
419-
"description": "The percentage of views profiled",
419+
"description": "The percentage of sessions profiled",
420+
"minimum": 0,
421+
"maximum": 100,
422+
"readOnly": true
423+
},
424+
"trace_sample_rate": {
425+
"type": "number",
426+
"description": "The percentage of sessions with traced resources",
420427
"minimum": 0,
421428
"maximum": 100,
422429
"readOnly": true

0 commit comments

Comments
 (0)