RUM-11196: Support apollo graphql#2845
Merged
Merged
Conversation
jonathanmos
marked this pull request as ready for review
September 1, 2025 08:53
0xnm
requested changes
Sep 2, 2025
0xnm
left a comment
Member
There was a problem hiding this comment.
I briefly reviewed the RUM module part of it and left some suggestions.
It is good to see finally GraphQL support in the SDK!
ambushwork
previously approved these changes
Sep 2, 2025
urseberry
reviewed
Sep 2, 2025
jonathanmos
force-pushed
the
jmoskovich/rum-11196/apollo-integration
branch
from
September 3, 2025 12:29
19f82f8 to
e52dcb3
Compare
0xnm
requested changes
Sep 3, 2025
urseberry
reviewed
Sep 5, 2025
jonathanmos
force-pushed
the
jmoskovich/rum-11196/apollo-integration
branch
2 times, most recently
from
September 8, 2025 08:44
ba2a0f6 to
287327c
Compare
jonathanmos
force-pushed
the
jmoskovich/rum-11196/apollo-integration
branch
from
September 9, 2025 08:24
287327c to
e19f43a
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #2845 +/- ##
===========================================
+ Coverage 70.81% 70.86% +0.06%
===========================================
Files 809 812 +3
Lines 29482 29586 +104
Branches 4940 4955 +15
===========================================
+ Hits 20875 20966 +91
- Misses 7246 7265 +19
+ Partials 1361 1355 -6
🚀 New features to boost your workflow:
|
urseberry
previously approved these changes
Sep 9, 2025
0xnm
requested changes
Sep 10, 2025
0xnm
left a comment
Member
There was a problem hiding this comment.
Looks alright! I've added a few comments and suggestions.
jonathanmos
force-pushed
the
jmoskovich/rum-11196/apollo-integration
branch
from
September 15, 2025 08:00
b01d4a1 to
d58a8b3
Compare
0xnm
reviewed
Sep 17, 2025
0xnm
left a comment
Member
There was a problem hiding this comment.
Overall lgtm, I've added some questions
jonathanmos
force-pushed
the
jmoskovich/rum-11196/apollo-integration
branch
4 times, most recently
from
September 29, 2025 12:39
0d902cc to
1e45cb9
Compare
aleksandr-gringauz
previously approved these changes
Sep 29, 2025
jonathanmos
force-pushed
the
jmoskovich/rum-11196/apollo-integration
branch
from
September 29, 2025 14:13
1e45cb9 to
07e1f8f
Compare
0xnm
requested changes
Sep 29, 2025
jonathanmos
force-pushed
the
jmoskovich/rum-11196/apollo-integration
branch
2 times, most recently
from
September 30, 2025 11:32
752e009 to
6d95d94
Compare
0xnm
previously approved these changes
Sep 30, 2025
jonathanmos
force-pushed
the
jmoskovich/rum-11196/apollo-integration
branch
from
September 30, 2025 13:31
6d95d94 to
c917655
Compare
0xnm
approved these changes
Sep 30, 2025
aleksandr-gringauz
approved these changes
Sep 30, 2025
ambushwork
approved these changes
Sep 30, 2025
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 does this PR do?
Adds support for Apollo GraphQL requests, which is essentially native support for graphQL (until now only available from cross-platform).
Caveats:
Support only for V4 of Apollo-Kotlin. If there will be enough demand for V3 we may extend support there.
How does it work:
ApolloInterceptorplugin under a new integration module:dd-sdk-android-apollooperationName,operationType,variablesandpayload.DatadogInterceptorto catch these headers and send them as part ofRumResourceScope. After extracting the data from these headers they are removed so they won't be sent onwards to the host.DatadogApolloInterceptor(sendGraphQLPayloads = true)Motivation
Add GraphQL support to native.
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)