From c29af9a379d793037f089ed0637e56609034c1ba Mon Sep 17 00:00:00 2001 From: Bastien Caudan Date: Tue, 21 Jul 2026 11:19:39 +0200 Subject: [PATCH 1/7] =?UTF-8?q?=E2=9C=A8=20add=20process=20event=20type=20?= =?UTF-8?q?to=20RUM=20schema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/cjs/generated/rum.d.ts | 46 ++++++++++++++++++++- lib/esm/generated/rum.d.ts | 46 ++++++++++++++++++++- samples/rum-events/process.json | 28 +++++++++++++ schemas/rum-events-schema.json | 3 ++ schemas/rum/process-schema.json | 72 +++++++++++++++++++++++++++++++++ 5 files changed, 193 insertions(+), 2 deletions(-) create mode 100644 samples/rum-events/process.json create mode 100644 schemas/rum/process-schema.json diff --git a/lib/cjs/generated/rum.d.ts b/lib/cjs/generated/rum.d.ts index 8e5518b8..14699ac3 100644 --- a/lib/cjs/generated/rum.d.ts +++ b/lib/cjs/generated/rum.d.ts @@ -4,7 +4,7 @@ /** * Schema of all properties of a RUM event */ -export type RumEvent = RumActionEvent | RumTransitionEvent | RumErrorEvent | RumLongTaskEvent | RumResourceEvent | RumViewEvent | RumViewUpdateEvent | RumVitalEvent; +export type RumEvent = RumActionEvent | RumTransitionEvent | RumErrorEvent | RumLongTaskEvent | RumResourceEvent | RumViewEvent | RumViewUpdateEvent | RumProcessEvent | RumVitalEvent; /** * Schema of all properties of an Action event */ @@ -879,6 +879,50 @@ export type RumViewUpdateEvent = ViewContainerSchema & StreamSchema & ViewProper readonly type: 'view_update'; [k: string]: unknown; }; +/** + * Schema of all properties of a Process event + */ +export type RumProcessEvent = CommonProperties & { + /** + * RUM event type + */ + readonly type: 'process'; + /** + * Process properties + */ + readonly process: { + /** + * UUID of the process + */ + readonly id: string; + /** + * Role of the process + */ + readonly role: 'main' | 'renderer' | 'utility'; + /** + * OS process ID + */ + readonly pid: number; + /** + * Parent OS process ID + */ + readonly ppid?: number; + /** + * Process name + */ + readonly name?: string; + /** + * Process lifetime in nanoseconds + */ + readonly duration?: number; + /** + * Reason for process exit + */ + readonly exit_reason?: 'clean-exit' | 'abnormal-exit' | 'killed' | 'crashed' | 'oom' | 'launch-failed' | 'integrity-failure' | 'memory-eviction'; + [k: string]: unknown; + }; + [k: string]: unknown; +}; export type RumVitalEvent = RumVitalDurationEvent | RumVitalOperationStepEvent | RumVitalAppLaunchEvent; /** * Schema for a duration vital event. diff --git a/lib/esm/generated/rum.d.ts b/lib/esm/generated/rum.d.ts index 8e5518b8..14699ac3 100644 --- a/lib/esm/generated/rum.d.ts +++ b/lib/esm/generated/rum.d.ts @@ -4,7 +4,7 @@ /** * Schema of all properties of a RUM event */ -export type RumEvent = RumActionEvent | RumTransitionEvent | RumErrorEvent | RumLongTaskEvent | RumResourceEvent | RumViewEvent | RumViewUpdateEvent | RumVitalEvent; +export type RumEvent = RumActionEvent | RumTransitionEvent | RumErrorEvent | RumLongTaskEvent | RumResourceEvent | RumViewEvent | RumViewUpdateEvent | RumProcessEvent | RumVitalEvent; /** * Schema of all properties of an Action event */ @@ -879,6 +879,50 @@ export type RumViewUpdateEvent = ViewContainerSchema & StreamSchema & ViewProper readonly type: 'view_update'; [k: string]: unknown; }; +/** + * Schema of all properties of a Process event + */ +export type RumProcessEvent = CommonProperties & { + /** + * RUM event type + */ + readonly type: 'process'; + /** + * Process properties + */ + readonly process: { + /** + * UUID of the process + */ + readonly id: string; + /** + * Role of the process + */ + readonly role: 'main' | 'renderer' | 'utility'; + /** + * OS process ID + */ + readonly pid: number; + /** + * Parent OS process ID + */ + readonly ppid?: number; + /** + * Process name + */ + readonly name?: string; + /** + * Process lifetime in nanoseconds + */ + readonly duration?: number; + /** + * Reason for process exit + */ + readonly exit_reason?: 'clean-exit' | 'abnormal-exit' | 'killed' | 'crashed' | 'oom' | 'launch-failed' | 'integrity-failure' | 'memory-eviction'; + [k: string]: unknown; + }; + [k: string]: unknown; +}; export type RumVitalEvent = RumVitalDurationEvent | RumVitalOperationStepEvent | RumVitalAppLaunchEvent; /** * Schema for a duration vital event. diff --git a/samples/rum-events/process.json b/samples/rum-events/process.json new file mode 100644 index 00000000..27ccf06a --- /dev/null +++ b/samples/rum-events/process.json @@ -0,0 +1,28 @@ +{ + "type": "process", + "date": 1591284428705, + "application": { + "id": "ac8218cf-498b-4d33-bd44-151095959547" + }, + "session": { + "id": "cacbf45c-3a05-48ce-b066-d76349460599", + "type": "user" + }, + "view": { + "id": "cacbf45c-3a05-48ce-b066-d76349460599", + "url": "electron://fake" + }, + "source": "electron", + "process": { + "id": "b1a2c3d4-e5f6-7890-abcd-ef1234567890", + "role": "renderer", + "pid": 1236, + "ppid": 1234, + "name": "renderer", + "duration": 220000000000, + "exit_reason": "clean-exit" + }, + "_dd": { + "format_version": 2 + } +} diff --git a/schemas/rum-events-schema.json b/schemas/rum-events-schema.json index fdd4757f..fb2b4cc0 100644 --- a/schemas/rum-events-schema.json +++ b/schemas/rum-events-schema.json @@ -26,6 +26,9 @@ { "$ref": "rum/view_update-schema.json" }, + { + "$ref": "rum/process-schema.json" + }, { "title": "RumVitalEvent", "oneOf": [ diff --git a/schemas/rum/process-schema.json b/schemas/rum/process-schema.json new file mode 100644 index 00000000..3990da28 --- /dev/null +++ b/schemas/rum/process-schema.json @@ -0,0 +1,72 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "rum/process-schema.json", + "title": "RumProcessEvent", + "type": "object", + "description": "Schema of all properties of a Process event", + "allOf": [ + { + "$ref": "_common-schema.json" + }, + { + "required": ["type", "process"], + "properties": { + "type": { + "type": "string", + "description": "RUM event type", + "const": "process", + "readOnly": true + }, + "process": { + "type": "object", + "description": "Process properties", + "required": ["id", "role", "pid"], + "properties": { + "id": { + "type": "string", + "description": "UUID of the process", + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$", + "readOnly": true + }, + "role": { + "type": "string", + "description": "Role of the process", + "enum": ["main", "renderer", "utility"], + "readOnly": true + }, + "pid": { + "type": "integer", + "description": "OS process ID", + "minimum": 0, + "readOnly": true + }, + "ppid": { + "type": "integer", + "description": "Parent OS process ID", + "minimum": 0, + "readOnly": true + }, + "name": { + "type": "string", + "description": "Process name", + "readOnly": true + }, + "duration": { + "type": "integer", + "description": "Process lifetime in nanoseconds", + "minimum": 0, + "readOnly": true + }, + "exit_reason": { + "type": "string", + "description": "Reason for process exit", + "enum": ["clean-exit", "abnormal-exit", "killed", "crashed", "oom", "launch-failed", "integrity-failure", "memory-eviction"], + "readOnly": true + } + }, + "readOnly": true + } + } + } + ] +} From 0722039d1f44165dff426c3cd28479ea5eac7838 Mon Sep 17 00:00:00 2001 From: Bastien Caudan Date: Tue, 21 Jul 2026 11:23:36 +0200 Subject: [PATCH 2/7] =?UTF-8?q?=E2=9C=A8=20add=20optional=20process=20enri?= =?UTF-8?q?chment=20to=20common=20schema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/cjs/generated/rum.d.ts | 14 ++++++++++++++ lib/esm/generated/rum.d.ts | 14 ++++++++++++++ schemas/rum/_common-schema.json | 19 +++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/lib/cjs/generated/rum.d.ts b/lib/cjs/generated/rum.d.ts index 14699ac3..fc5ab9c8 100644 --- a/lib/cjs/generated/rum.d.ts +++ b/lib/cjs/generated/rum.d.ts @@ -1412,6 +1412,20 @@ export interface CommonProperties { readonly id: string; [k: string]: unknown; }; + /** + * Process properties + */ + readonly process?: { + /** + * UUID of the process + */ + readonly id?: string; + /** + * Role of the process + */ + readonly role?: 'main' | 'renderer' | 'utility'; + [k: string]: unknown; + }; [k: string]: unknown; } /** diff --git a/lib/esm/generated/rum.d.ts b/lib/esm/generated/rum.d.ts index 14699ac3..fc5ab9c8 100644 --- a/lib/esm/generated/rum.d.ts +++ b/lib/esm/generated/rum.d.ts @@ -1412,6 +1412,20 @@ export interface CommonProperties { readonly id: string; [k: string]: unknown; }; + /** + * Process properties + */ + readonly process?: { + /** + * UUID of the process + */ + readonly id?: string; + /** + * Role of the process + */ + readonly role?: 'main' | 'renderer' | 'utility'; + [k: string]: unknown; + }; [k: string]: unknown; } /** diff --git a/schemas/rum/_common-schema.json b/schemas/rum/_common-schema.json index 49560951..576fcee4 100644 --- a/schemas/rum/_common-schema.json +++ b/schemas/rum/_common-schema.json @@ -502,6 +502,25 @@ "readOnly": true } } + }, + "process": { + "type": "object", + "description": "Process properties", + "properties": { + "id": { + "type": "string", + "description": "UUID of the process", + "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$", + "readOnly": true + }, + "role": { + "type": "string", + "description": "Role of the process", + "enum": ["main", "renderer", "utility"], + "readOnly": true + } + }, + "readOnly": true } } } From 348d11f78b019656ec44d84882df3ad7126782d5 Mon Sep 17 00:00:00 2001 From: Bastien Caudan Date: Tue, 21 Jul 2026 11:28:04 +0200 Subject: [PATCH 3/7] =?UTF-8?q?=E2=9C=A8=20add=20=5Fdd.is=5Ffake=20to=20vi?= =?UTF-8?q?ew=20properties=20schema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/cjs/generated/rum.d.ts | 4 ++++ lib/esm/generated/rum.d.ts | 4 ++++ schemas/rum/_view-properties-schema.json | 6 ++++++ schemas/rum/process-schema.json | 11 ++++++++++- 4 files changed, 24 insertions(+), 1 deletion(-) diff --git a/lib/cjs/generated/rum.d.ts b/lib/cjs/generated/rum.d.ts index fc5ab9c8..cb65bf52 100644 --- a/lib/cjs/generated/rum.d.ts +++ b/lib/cjs/generated/rum.d.ts @@ -2034,6 +2034,10 @@ export interface ViewProperties { * Profiling context */ profiling?: ProfilingInternalContextSchema; + /** + * Whether this view was synthetically created to carry view-less events + */ + readonly is_fake?: true; [k: string]: unknown; }; [k: string]: unknown; diff --git a/lib/esm/generated/rum.d.ts b/lib/esm/generated/rum.d.ts index fc5ab9c8..cb65bf52 100644 --- a/lib/esm/generated/rum.d.ts +++ b/lib/esm/generated/rum.d.ts @@ -2034,6 +2034,10 @@ export interface ViewProperties { * Profiling context */ profiling?: ProfilingInternalContextSchema; + /** + * Whether this view was synthetically created to carry view-less events + */ + readonly is_fake?: true; [k: string]: unknown; }; [k: string]: unknown; diff --git a/schemas/rum/_view-properties-schema.json b/schemas/rum/_view-properties-schema.json index f8c7708e..b123dc68 100644 --- a/schemas/rum/_view-properties-schema.json +++ b/schemas/rum/_view-properties-schema.json @@ -556,6 +556,12 @@ "type": "object", "description": "Profiling context", "allOf": [{ "$ref": "./_profiling-internal-context-schema.json" }] + }, + "is_fake": { + "type": "boolean", + "const": true, + "description": "Whether this view was synthetically created to carry view-less events", + "readOnly": true } } } diff --git a/schemas/rum/process-schema.json b/schemas/rum/process-schema.json index 3990da28..678fae4b 100644 --- a/schemas/rum/process-schema.json +++ b/schemas/rum/process-schema.json @@ -60,7 +60,16 @@ "exit_reason": { "type": "string", "description": "Reason for process exit", - "enum": ["clean-exit", "abnormal-exit", "killed", "crashed", "oom", "launch-failed", "integrity-failure", "memory-eviction"], + "enum": [ + "clean-exit", + "abnormal-exit", + "killed", + "crashed", + "oom", + "launch-failed", + "integrity-failure", + "memory-eviction" + ], "readOnly": true } }, From 6641e1559a568f5e3c08661ff698603b055acdcc Mon Sep 17 00:00:00 2001 From: Bastien Caudan Date: Tue, 21 Jul 2026 14:39:27 +0200 Subject: [PATCH 4/7] =?UTF-8?q?=F0=9F=90=9B=20remove=20const:=20true=20fro?= =?UTF-8?q?m=20=5Fdd.is=5Ffake=20for=20SDK=20model=20generator=20compatibi?= =?UTF-8?q?lity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/cjs/generated/rum.d.ts | 2 +- lib/esm/generated/rum.d.ts | 2 +- schemas/rum/_view-properties-schema.json | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/cjs/generated/rum.d.ts b/lib/cjs/generated/rum.d.ts index cb65bf52..b7694747 100644 --- a/lib/cjs/generated/rum.d.ts +++ b/lib/cjs/generated/rum.d.ts @@ -2037,7 +2037,7 @@ export interface ViewProperties { /** * Whether this view was synthetically created to carry view-less events */ - readonly is_fake?: true; + readonly is_fake?: boolean; [k: string]: unknown; }; [k: string]: unknown; diff --git a/lib/esm/generated/rum.d.ts b/lib/esm/generated/rum.d.ts index cb65bf52..b7694747 100644 --- a/lib/esm/generated/rum.d.ts +++ b/lib/esm/generated/rum.d.ts @@ -2037,7 +2037,7 @@ export interface ViewProperties { /** * Whether this view was synthetically created to carry view-less events */ - readonly is_fake?: true; + readonly is_fake?: boolean; [k: string]: unknown; }; [k: string]: unknown; diff --git a/schemas/rum/_view-properties-schema.json b/schemas/rum/_view-properties-schema.json index b123dc68..1cc088c2 100644 --- a/schemas/rum/_view-properties-schema.json +++ b/schemas/rum/_view-properties-schema.json @@ -559,7 +559,6 @@ }, "is_fake": { "type": "boolean", - "const": true, "description": "Whether this view was synthetically created to carry view-less events", "readOnly": true } From 111523b4f7a9ab9f9b71a110c5fc7268155e2f54 Mon Sep 17 00:00:00 2001 From: Bastien Caudan Date: Tue, 21 Jul 2026 15:51:33 +0200 Subject: [PATCH 5/7] =?UTF-8?q?=E2=9C=A8=20add=20process.name=20to=20commo?= =?UTF-8?q?n=20schema=20process=20enrichment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/cjs/generated/rum.d.ts | 4 ++++ lib/esm/generated/rum.d.ts | 4 ++++ schemas/rum/_common-schema.json | 5 +++++ 3 files changed, 13 insertions(+) diff --git a/lib/cjs/generated/rum.d.ts b/lib/cjs/generated/rum.d.ts index b7694747..82dc3b13 100644 --- a/lib/cjs/generated/rum.d.ts +++ b/lib/cjs/generated/rum.d.ts @@ -1424,6 +1424,10 @@ export interface CommonProperties { * Role of the process */ readonly role?: 'main' | 'renderer' | 'utility'; + /** + * Process name + */ + readonly name?: string; [k: string]: unknown; }; [k: string]: unknown; diff --git a/lib/esm/generated/rum.d.ts b/lib/esm/generated/rum.d.ts index b7694747..82dc3b13 100644 --- a/lib/esm/generated/rum.d.ts +++ b/lib/esm/generated/rum.d.ts @@ -1424,6 +1424,10 @@ export interface CommonProperties { * Role of the process */ readonly role?: 'main' | 'renderer' | 'utility'; + /** + * Process name + */ + readonly name?: string; [k: string]: unknown; }; [k: string]: unknown; diff --git a/schemas/rum/_common-schema.json b/schemas/rum/_common-schema.json index 576fcee4..a1f2fda3 100644 --- a/schemas/rum/_common-schema.json +++ b/schemas/rum/_common-schema.json @@ -518,6 +518,11 @@ "description": "Role of the process", "enum": ["main", "renderer", "utility"], "readOnly": true + }, + "name": { + "type": "string", + "description": "Process name", + "readOnly": true } }, "readOnly": true From 24bdbe250e3f772d5f64a55d5cb1c99dcc03bd41 Mon Sep 17 00:00:00 2001 From: Bastien Caudan Date: Wed, 22 Jul 2026 11:31:02 +0200 Subject: [PATCH 6/7] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20move=20=5Fdd.is=5Ffake?= =?UTF-8?q?=20to=20view.is=5Ffake=20on=20common=20schema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Relocates the synthetic-view flag from _dd.is_fake (view/view_update only) to view.is_fake on _common-schema.json, so all event types associated with a fake view (error, action, resource, etc.) can carry the flag for backend filtering. --- lib/cjs/generated/rum.d.ts | 18 ++++++++++++++---- lib/esm/generated/rum.d.ts | 18 ++++++++++++++---- schemas/rum/_common-schema.json | 5 +++++ schemas/rum/_view-properties-schema.json | 5 ----- 4 files changed, 33 insertions(+), 13 deletions(-) diff --git a/lib/cjs/generated/rum.d.ts b/lib/cjs/generated/rum.d.ts index 82dc3b13..1fb7e27f 100644 --- a/lib/cjs/generated/rum.d.ts +++ b/lib/cjs/generated/rum.d.ts @@ -921,6 +921,16 @@ export type RumProcessEvent = CommonProperties & { readonly exit_reason?: 'clean-exit' | 'abnormal-exit' | 'killed' | 'crashed' | 'oom' | 'launch-failed' | 'integrity-failure' | 'memory-eviction'; [k: string]: unknown; }; + /** + * Internal properties + */ + readonly _dd: { + /** + * Version of the update of the process event + */ + readonly document_version: number; + [k: string]: unknown; + }; [k: string]: unknown; }; export type RumVitalEvent = RumVitalDurationEvent | RumVitalOperationStepEvent | RumVitalAppLaunchEvent; @@ -1130,6 +1140,10 @@ export interface CommonProperties { * User defined name of the view */ name?: string; + /** + * Whether this view was synthetically created to carry view-less events + */ + readonly is_fake?: boolean; [k: string]: unknown; }; /** @@ -2038,10 +2052,6 @@ export interface ViewProperties { * Profiling context */ profiling?: ProfilingInternalContextSchema; - /** - * Whether this view was synthetically created to carry view-less events - */ - readonly is_fake?: boolean; [k: string]: unknown; }; [k: string]: unknown; diff --git a/lib/esm/generated/rum.d.ts b/lib/esm/generated/rum.d.ts index 82dc3b13..1fb7e27f 100644 --- a/lib/esm/generated/rum.d.ts +++ b/lib/esm/generated/rum.d.ts @@ -921,6 +921,16 @@ export type RumProcessEvent = CommonProperties & { readonly exit_reason?: 'clean-exit' | 'abnormal-exit' | 'killed' | 'crashed' | 'oom' | 'launch-failed' | 'integrity-failure' | 'memory-eviction'; [k: string]: unknown; }; + /** + * Internal properties + */ + readonly _dd: { + /** + * Version of the update of the process event + */ + readonly document_version: number; + [k: string]: unknown; + }; [k: string]: unknown; }; export type RumVitalEvent = RumVitalDurationEvent | RumVitalOperationStepEvent | RumVitalAppLaunchEvent; @@ -1130,6 +1140,10 @@ export interface CommonProperties { * User defined name of the view */ name?: string; + /** + * Whether this view was synthetically created to carry view-less events + */ + readonly is_fake?: boolean; [k: string]: unknown; }; /** @@ -2038,10 +2052,6 @@ export interface ViewProperties { * Profiling context */ profiling?: ProfilingInternalContextSchema; - /** - * Whether this view was synthetically created to carry view-less events - */ - readonly is_fake?: boolean; [k: string]: unknown; }; [k: string]: unknown; diff --git a/schemas/rum/_common-schema.json b/schemas/rum/_common-schema.json index a1f2fda3..37d0bf44 100644 --- a/schemas/rum/_common-schema.json +++ b/schemas/rum/_common-schema.json @@ -122,6 +122,11 @@ "type": "string", "description": "User defined name of the view", "readOnly": false + }, + "is_fake": { + "type": "boolean", + "description": "Whether this view was synthetically created to carry view-less events", + "readOnly": true } }, "readOnly": true diff --git a/schemas/rum/_view-properties-schema.json b/schemas/rum/_view-properties-schema.json index 1cc088c2..1b6a1508 100644 --- a/schemas/rum/_view-properties-schema.json +++ b/schemas/rum/_view-properties-schema.json @@ -557,11 +557,6 @@ "description": "Profiling context", "allOf": [{ "$ref": "./_profiling-internal-context-schema.json" }] }, - "is_fake": { - "type": "boolean", - "description": "Whether this view was synthetically created to carry view-less events", - "readOnly": true - } } } } From a6d3d9b52cf075b6c6199f1fcff364d2408ac6de Mon Sep 17 00:00:00 2001 From: Bastien Caudan Date: Wed, 22 Jul 2026 11:31:10 +0200 Subject: [PATCH 7/7] =?UTF-8?q?=E2=9C=A8=20add=20=5Fdd.document=5Fversion?= =?UTF-8?q?=20to=20process=20event=20schema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- samples/rum-events/process.json | 6 ++++-- schemas/rum/_view-properties-schema.json | 2 +- schemas/rum/process-schema.json | 16 +++++++++++++++- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/samples/rum-events/process.json b/samples/rum-events/process.json index 27ccf06a..6be40418 100644 --- a/samples/rum-events/process.json +++ b/samples/rum-events/process.json @@ -10,7 +10,8 @@ }, "view": { "id": "cacbf45c-3a05-48ce-b066-d76349460599", - "url": "electron://fake" + "url": "electron://fake", + "is_fake": true }, "source": "electron", "process": { @@ -23,6 +24,7 @@ "exit_reason": "clean-exit" }, "_dd": { - "format_version": 2 + "format_version": 2, + "document_version": 1 } } diff --git a/schemas/rum/_view-properties-schema.json b/schemas/rum/_view-properties-schema.json index 1b6a1508..f8c7708e 100644 --- a/schemas/rum/_view-properties-schema.json +++ b/schemas/rum/_view-properties-schema.json @@ -556,7 +556,7 @@ "type": "object", "description": "Profiling context", "allOf": [{ "$ref": "./_profiling-internal-context-schema.json" }] - }, + } } } } diff --git a/schemas/rum/process-schema.json b/schemas/rum/process-schema.json index 678fae4b..a09c7c89 100644 --- a/schemas/rum/process-schema.json +++ b/schemas/rum/process-schema.json @@ -9,7 +9,7 @@ "$ref": "_common-schema.json" }, { - "required": ["type", "process"], + "required": ["type", "process", "_dd"], "properties": { "type": { "type": "string", @@ -74,6 +74,20 @@ } }, "readOnly": true + }, + "_dd": { + "type": "object", + "description": "Internal properties", + "required": ["document_version"], + "properties": { + "document_version": { + "type": "integer", + "description": "Version of the update of the process event", + "minimum": 0, + "readOnly": true + } + }, + "readOnly": true } } }