Skip to content

Conversation

@barboraplasovska
Copy link
Contributor

@barboraplasovska barboraplasovska commented Dec 19, 2025

What does this PR do? What is the motivation?

Now that Datadog Apollo Interceptor for iOS has been released, I am adding documentation about how to use it.

Merge instructions

Merge readiness:

  • Ready for merge

For Datadog employees:

Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). Without this format, your pull request will not pass CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.

If your branch doesn't follow this format, rename it or create a new branch and PR.

[6/5/2025] Merge queue has been disabled on the documentation repo. If you have write access to the repo, the PR has been reviewed by a Documentation team member, and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #documentation channel in Slack.

Additional notes

@barboraplasovska barboraplasovska self-assigned this Dec 19, 2025
@barboraplasovska barboraplasovska requested a review from a team as a code owner December 19, 2025 14:50
@barboraplasovska barboraplasovska requested a review from a team December 19, 2025 14:51
@barboraplasovska barboraplasovska marked this pull request as draft December 19, 2025 15:06
@git-thuerk-done git-thuerk-done added the editorial review Waiting on a more in-depth review label Dec 30, 2025
@git-thuerk-done
Copy link
Contributor

Thank you! I have created DOCS card for someone on our team to review further.

@barboraplasovska barboraplasovska force-pushed the bplasovska/graphql-documentation branch from f60d387 to b2d46aa Compare January 12, 2026 16:26
@barboraplasovska barboraplasovska marked this pull request as ready for review January 12, 2026 16:26
Copy link
Contributor

@rtrieu rtrieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some comments regarding formatting, mostly

#### Apollo instrumentation
This integration supports both Apollo iOS 1.0+ and Apollo iOS 2.0+. The setup differs between versions, so please follow the instructions for your Apollo iOS version below.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This integration supports both Apollo iOS 1.0+ and Apollo iOS 2.0+. The setup differs between versions, so please follow the instructions for your Apollo iOS version below.
This integration supports both Apollo iOS 1.0+ and Apollo iOS 2.0+. Follow the instructions for the Apollo iOS version you have below.

2. Add the following to your application's `Package.swift` file:
```swift
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please indent lines 764-777 by 3 spaces

```

Alternatively, you can add it using Xcode:
- Go to **File****Add Package Dependencies**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Go to **File****Add Package Dependencies**
1. Go to **File****Add Package Dependencies**.


Alternatively, you can add it using Xcode:
- Go to **File****Add Package Dependencies**
- Enter the repository URL: `https://github.com/DataDog/dd-sdk-ios-apollo-interceptor`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Enter the repository URL: `https://github.com/DataDog/dd-sdk-ios-apollo-interceptor`
2. Enter the repository URL: `https://github.com/DataDog/dd-sdk-ios-apollo-interceptor`.

Alternatively, you can add it using Xcode:
- Go to **File****Add Package Dependencies**
- Enter the repository URL: `https://github.com/DataDog/dd-sdk-ios-apollo-interceptor`
- Select the package version that matches your Apollo major version (choose `1.x.x` for Apollo iOS 1.0+ or `2.x.x` for Apollo iOS 2.0+).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Select the package version that matches your Apollo major version (choose `1.x.x` for Apollo iOS 1.0+ or `2.x.x` for Apollo iOS 2.0+).
3. Select the package version that matches your Apollo major version (choose `1.x.x` for Apollo iOS 1.0+ or `2.x.x` for Apollo iOS 2.0+).

{{% /tab %}}
{{< /tabs >}}

This automatically adds Datadog headers to your GraphQL requests, enabling them to be tracked by Datadog.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This automatically adds Datadog headers to your GraphQL requests, enabling them to be tracked by Datadog.
This automatically adds Datadog headers to your GraphQL requests, enabling them to be tracked by Datadog.

Copy link
Contributor

@gonzalezreal gonzalezreal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 LGTM!

@rtrieu rtrieu merged commit 5fbc5ca into master Jan 15, 2026
32 checks passed
@rtrieu rtrieu deleted the bplasovska/graphql-documentation branch January 15, 2026 18:41
estherk15 pushed a commit that referenced this pull request Jan 16, 2026
* Add documentation for GraphQL iOS

* Fix: link

* Fix: update v2 configuration

* Fix: use info alert

* Apply PR suggestions

* Fix indentation

* Update content/en/real_user_monitoring/application_monitoring/ios/advanced_configuration.md

Co-authored-by: Rosa Trieu <[email protected]>

* Fix: datadog doesnt add headers

---------

Co-authored-by: Rosa Trieu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

editorial review Waiting on a more in-depth review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants