RUM-15482: Rename RUM Operations API#2802
Merged
Merged
Conversation
Member
|
Can we put deprecate+rename params on the methods to ease the transition for customers? See this blog post It makes Xcode auto provide "rename" callouts |
simaoseica-dd
force-pushed
the
simaoseica/RUM-14250/improve-app-launch
branch
from
April 7, 2026 09:23
f9f45d8 to
cbb0cb4
Compare
Base automatically changed from
simaoseica/RUM-14250/improve-app-launch
to
feature/profiling
April 7, 2026 12:31
simaoseica-dd
force-pushed
the
simaoseica/RUM-14250/operations-api
branch
from
April 8, 2026 13:29
874abe6 to
f3bdabe
Compare
maxep
previously approved these changes
Apr 8, 2026
maxep
left a comment
Member
There was a problem hiding this comment.
Looks great! I left a question, but it is good to go as is.
cdn34dd
previously approved these changes
Apr 8, 2026
simaoseica-dd
force-pushed
the
simaoseica/RUM-14250/operations-api
branch
from
April 8, 2026 19:05
904b7c1 to
26bf9b6
Compare
maxep
previously approved these changes
Apr 9, 2026
simaoseica-dd
force-pushed
the
simaoseica/RUM-14250/operations-api
branch
from
April 10, 2026 16:21
26bf9b6 to
a1b1395
Compare
maxep
approved these changes
Apr 13, 2026
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.

What and why?
This PR renames the RUM Operations API for consistency and clarity, and introduces a new generic parameter
options: OperationOptions?to make the API extensible and avoid coupling the public interface to a single feature (profiling).Before:
After:
How?
OperationOptionsprotocol inDatadogInternalas the extensible options type for operations.ProfilingOptions(conforming toOperationOptions) to carry the profiling sample rate.RUMMonitorProtocol, its default implementations,Monitor, andNOPMonitoraccordingly.Review checklist
make api-surfacewhen adding new APIs