Skip to content

⚗️ [RUM-17561] add execution_context event type to RUM schema - #415

Draft
bcaudan wants to merge 10 commits into
masterfrom
bcaudan/process-schema
Draft

⚗️ [RUM-17561] add execution_context event type to RUM schema#415
bcaudan wants to merge 10 commits into
masterfrom
bcaudan/process-schema

Conversation

@bcaudan

@bcaudan bcaudan commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Motivation

Introduces a first-class execution_context event type to support Electron child-process monitoring. Allows the SDK to report execution context lifecycle data (start time, duration, exit reason) and links all existing RUM events back to their owning execution context via optional enrichment on the common schema.

Changes

  • New execution_context-schema.json event type extending _common-schema.json. Required fields: type (constant "execution_context"), execution_context.id (UUID), execution_context.type (enum: main-process/renderer-process/utility-process, Electron-only for now), execution_context.pid, _dd.document_version. Optional: execution_context.ppid, execution_context.name, execution_context.duration (ns), execution_context.exit_reason.
  • execution_context-schema.json registered in the RumEvent oneOf union in rum-events-schema.json.
  • Optional execution_context.id, execution_context.type, and execution_context.name enrichment added to _common-schema.json so all existing event types (Error, Action, Resource, etc.) can carry a back-reference to their owning execution context.
  • Optional view.is_fake boolean added to _common-schema.json so all event types associated with a fake view can carry the flag for backend and frontend filtering. Fake views are synthetically created by the SDK to carry execution context events during the transition phase where execution context events require a view.id.

Comment thread schemas/rum/execution_context-schema.json
Comment thread schemas/rum/_view-properties-schema.json Outdated
Comment thread schemas/rum/_common-schema.json Outdated
bcaudan added 3 commits July 21, 2026 15:51
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.
@bcaudan bcaudan changed the title ⚗️ [RUM-17561] add process event type to RUM schema ⚗️ [RUM-17561] add execution_context event type to RUM schema Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants