Skip to content

Conversation

@cdn34dd
Copy link
Contributor

@cdn34dd cdn34dd commented Jan 4, 2026

What does this PR do?

Adds support for Payload and Error for GraphQL requests. Allowing users to opt-in to those by setting up optional arguments when setting up the DatadogLink in the @datadog/mobile-react-native-apollo-client package.

It also changes the default behaviur for the variable tracking, now also being optional and false by default.

image
image
image

GraphQL data (payload + errors) [android]:
https://mobile-integration.datadoghq.com/rum/sessions?query=%40type%3Asession%20%40application.id%3A056b6201-48cb-4acc-9fbc-48507b8e3e12&agg_m=count&agg_m_source=base&agg_t=count&event=AwAAAZucxXbWiXsxkgAAABhBWnVjeFhiV0FBQkllVDJ2ZnpmczMtei0AAAAkMDE5YjljYzUtYTRlYy00NWI2LTk3OTktZjMyMjZhZTE3MWMyAAAABA&fromUser=false&from_ts=1767775384123&to_ts=1767861784123&live=true

GraphQL data (payload + errors) [iOS]:
https://mobile-integration.datadoghq.com/rum/sessions?query=%40type%3Asession%20%40applicatio[…]&from_ts=1767776285213&to_ts=1767862685213&live=true

Additional Notes

This relies on a feature that is not yet released on Android, but can be merged since the target is an intermediate branch and not the final V3 branch, for that we'll need to wait for Android to release those changes and updated the android SDK dependency.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
  • If this PR is auto-generated, please make sure also to manually update the code related to the change

@cdn34dd cdn34dd changed the title [RUM-13452] [V3] Add support for GraphQL error tracking [RUM-13452] [V3] Add support for GraphQL payload & error tracking Jan 7, 2026
@cdn34dd cdn34dd force-pushed the carlosnogueira/RUM-13452/track-graphql-errors branch from c023bdb to 59fa310 Compare January 8, 2026 10:41
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Jan 8, 2026

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: eeba29a | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@cdn34dd cdn34dd force-pushed the carlosnogueira/RUM-13452/track-graphql-errors branch from 59fa310 to c54c0b3 Compare January 8, 2026 14:26
@cdn34dd cdn34dd changed the base branch from carlosnogueira/RUM-13451/graphql-support-payload-and-error-tracking to feature/v3 January 8, 2026 14:32
@cdn34dd cdn34dd changed the base branch from feature/v3 to carlosnogueira/RUM-13451/graphql-support-payload-and-error-tracking January 8, 2026 14:33
@cdn34dd cdn34dd force-pushed the carlosnogueira/RUM-13452/track-graphql-errors branch from c54c0b3 to a2c9127 Compare January 8, 2026 14:36
@cdn34dd cdn34dd marked this pull request as ready for review January 8, 2026 14:48
@cdn34dd cdn34dd requested a review from a team as a code owner January 8, 2026 14:48
@cdn34dd cdn34dd force-pushed the carlosnogueira/RUM-13452/track-graphql-errors branch from a2c9127 to eeba29a Compare January 14, 2026 17:17
@cdn34dd cdn34dd merged commit eeba29a into carlosnogueira/RUM-13451/graphql-support-payload-and-error-tracking Jan 16, 2026
8 of 9 checks passed
@cdn34dd cdn34dd deleted the carlosnogueira/RUM-13452/track-graphql-errors branch January 16, 2026 11:28
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.

3 participants