⚗️ [RUM-17561] add process event type to RUM schema#415
Draft
bcaudan wants to merge 7 commits into
Draft
Conversation
bcaudan
commented
Jul 21, 2026
Comment on lines
+54
to
+59
| "duration": { | ||
| "type": "integer", | ||
| "description": "Process lifetime in nanoseconds", | ||
| "minimum": 0, | ||
| "readOnly": true | ||
| }, |
Contributor
Author
There was a problem hiding this comment.
💭 thought: Used date / process.duration instead of process.start / process.end to be consistent with other events.
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
processevent type to support Electron child-process monitoring. Allows the SDK to report process lifecycle data (start time, duration, exit reason) and links all existing RUM events back to their owning process via optional enrichment on the common schema.Changes
process-schema.jsonevent type extending_common-schema.json. Required fields:type,process.id(UUID),process.role(enum:main/renderer/utility, Electron-only for now),process.pid,_dd.document_version. Optional:process.ppid,process.name,process.duration(ns),process.exit_reason.process-schema.jsonregistered in theRumEventoneOfunion inrum-events-schema.json.process.id,process.role, andprocess.nameenrichment added to_common-schema.jsonso all existing event types (Error, Action, Resource, etc.) can carry a back-reference to their owning process.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 process events during the transition phase where process events require aview.id.