⚗️ [RUM-17561] add execution_context event type to RUM schema - #415
Draft
bcaudan wants to merge 10 commits into
Draft
⚗️ [RUM-17561] add execution_context event type to RUM schema#415bcaudan wants to merge 10 commits into
bcaudan wants to merge 10 commits into
Conversation
bcaudan
commented
Jul 21, 2026
bcaudan
commented
Jul 21, 2026
Marsonge
reviewed
Jul 21, 2026
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
force-pushed
the
bcaudan/process-schema
branch
from
July 22, 2026 09:41
7f8c5a5 to
a6d3d9b
Compare
Draft
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Introduces a first-class
execution_contextevent 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
execution_context-schema.jsonevent 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.jsonregistered in theRumEventoneOfunion inrum-events-schema.json.execution_context.id,execution_context.type, andexecution_context.nameenrichment added to_common-schema.jsonso all existing event types (Error, Action, Resource, etc.) can carry a back-reference to their owning execution context.view.is_fakeboolean added to_common-schema.jsonso 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 aview.id.