Skip to content

Commit 9fe91a3

Browse files
authored
chor(apollo): Add note about incompatibility with Apollo4 (#11162)
* adds note about incompatibility with apollo4 * updates wording - mention versions more explicitly
1 parent ea07c0c commit 9fe91a3

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

docs/platforms/android/integrations/apollo/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ Capturing transactions requires that you first <PlatformLink to="/tracing/">set
1616

1717
Sentry Apollo integration provides the `SentryApolloInterceptor`, which creates a span for each outgoing HTTP request executed with an [Apollo Android](https://github.com/apollographql/apollo-android) GraphQL client.
1818

19+
<Note>
20+
21+
This integration supports Apollo 2.x. For Apollo 3.x use our <PlatformLink to="/integrations/apollo3/">Apollo3 integration</PlatformLink>.
22+
23+
</Note>
24+
1925
## Install
2026

2127
```groovy {tabTitle:Gradle}

docs/platforms/android/integrations/apollo3/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ To be able to capture transactions, you'll need to first <PlatformLink to="/trac
1616

1717
Sentry's Apollo3 integration provides both the `SentryApollo3Interceptor` and the `SentryApollo3HttpInterceptor`, which create a span for each outgoing HTTP request executed with an [Apollo Kotlin](https://github.com/apollographql/apollo-kotlin) GraphQL client. The integration also provides extension functions on the `ApolloClient.Builder`.
1818

19+
<Note>
20+
21+
This integration supports Apollo 3.x. It does not yet support <Link to="https://github.com/apollographql/apollo-kotlin/releases/tag/v4.0.0">Apollo4</Link>. If you're using Apollo4 and are interested in an integration for it, please track and upvote the <Link to="https://github.com/getsentry/sentry-java/issues/3662">related issue</Link>.
22+
23+
</Note>
24+
1925
## Install
2026

2127
To install Apollo3:

docs/platforms/java/common/tracing/instrumentation/apollo.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ Capturing transactions requires that you first <PlatformLink to="/tracing/">set
1717

1818
Sentry Apollo integration provides the `SentryApolloInterceptor`, which creates a span for each outgoing HTTP request executed with an [Apollo Android](https://github.com/apollographql/apollo-android) GraphQL client.
1919

20+
<Note>
21+
22+
This integration supports Apollo 2.x. For Apollo 3.x use our <PlatformLink to="/tracing/instrumentation/apollo3">Apollo3 integration</PlatformLink>.
23+
24+
</Note>
25+
2026
## Install
2127

2228
```xml {tabTitle:Maven}

docs/platforms/java/common/tracing/instrumentation/apollo3.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ To be able to capture transactions, you'll need to first <PlatformLink to="/trac
1717

1818
Sentry's Apollo3 integration provides both the `SentryApollo3Interceptor` and the `SentryApollo3HttpInterceptor`, which create a span for each outgoing HTTP request executed with an [Apollo Kotlin](https://github.com/apollographql/apollo-kotlin) GraphQL client. The integration also provides extension functions on the `ApolloClient.Builder`.
1919

20+
<Note>
21+
22+
This integration supports Apollo 3.x. It does not yet support <Link to="https://github.com/apollographql/apollo-kotlin/releases/tag/v4.0.0">Apollo4</Link>. If you're using Apollo4 and are interested in an integration for it, please track and upvote the <Link to="https://github.com/getsentry/sentry-java/issues/3662">related issue</Link>.
23+
24+
</Note>
25+
2026
## Install
2127

2228
To install Apollo3:

0 commit comments

Comments
 (0)