From 976bc5e83081cf7071643472d9fdc3616fc6d924 Mon Sep 17 00:00:00 2001 From: Benoit Zugmeyer Date: Tue, 4 Nov 2025 16:58:33 +0100 Subject: [PATCH] add @_dd.configuration.trace_sample_rate --- lib/cjs/generated/rum.d.ts | 6 +++++- lib/esm/generated/rum.d.ts | 6 +++++- schemas/rum/_common-schema.json | 9 ++++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/lib/cjs/generated/rum.d.ts b/lib/cjs/generated/rum.d.ts index 6d7c57f1..9989b0d9 100644 --- a/lib/cjs/generated/rum.d.ts +++ b/lib/cjs/generated/rum.d.ts @@ -1676,9 +1676,13 @@ export interface CommonProperties { */ readonly session_replay_sample_rate?: number; /** - * The percentage of views profiled + * The percentage of sessions profiled */ readonly profiling_sample_rate?: number; + /** + * The percentage of sessions with traced resources + */ + readonly trace_sample_rate?: number; [k: string]: unknown; }; /** diff --git a/lib/esm/generated/rum.d.ts b/lib/esm/generated/rum.d.ts index 6d7c57f1..9989b0d9 100644 --- a/lib/esm/generated/rum.d.ts +++ b/lib/esm/generated/rum.d.ts @@ -1676,9 +1676,13 @@ export interface CommonProperties { */ readonly session_replay_sample_rate?: number; /** - * The percentage of views profiled + * The percentage of sessions profiled */ readonly profiling_sample_rate?: number; + /** + * The percentage of sessions with traced resources + */ + readonly trace_sample_rate?: number; [k: string]: unknown; }; /** diff --git a/schemas/rum/_common-schema.json b/schemas/rum/_common-schema.json index 42ddb300..ae2c8336 100644 --- a/schemas/rum/_common-schema.json +++ b/schemas/rum/_common-schema.json @@ -416,7 +416,14 @@ }, "profiling_sample_rate": { "type": "number", - "description": "The percentage of views profiled", + "description": "The percentage of sessions profiled", + "minimum": 0, + "maximum": 100, + "readOnly": true + }, + "trace_sample_rate": { + "type": "number", + "description": "The percentage of sessions with traced resources", "minimum": 0, "maximum": 100, "readOnly": true