Skip to content

Commit 5d318b7

Browse files
authored
Update apollo3.mdx (#7150)
1 parent f35d333 commit 5d318b7

File tree

1 file changed

+5
-3
lines changed
  • src/platforms/android/configuration/integrations

1 file changed

+5
-3
lines changed

src/platforms/android/configuration/integrations/apollo3.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ categories:
1010

1111
<Note>
1212

13-
Capturing transactions requires that you first <PlatformLink to="/performance/">set up performance monitoring</PlatformLink> if you haven't already.
13+
To be able to capture transactions, you'll need to first <PlatformLink to="/performance/">set up performance monitoring</PlatformLink>.
1414

1515
</Note>
1616

17-
Sentry Apollo3 integration provides 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. For easier usage, the integration also provides extension functions on the `ApolloClient.Builder`.
17+
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

1919
## Install
2020

21+
To install Apollo3:
22+
2123
```groovy {tabTitle:Gradle}
2224
implementation 'io.sentry:sentry-apollo-3:{{@inject packages.version('sentry.java.apollo-3', '6.1.4') }}'
2325
```
@@ -50,7 +52,7 @@ val apollo = ApolloClient.builder()
5052

5153
## Manual Configuration
5254

53-
When using a custom `NetworkTransport`, the `SentryInterceptors` need to be added manually, because `HttpInterceptors` need to be added to the `NetworkTransport`:
55+
Because `HttpInterceptors` need to be added to the `NetworkTransport`, the `SentryInterceptors` need to be added manually if you're using a custom `NetworkTransport`:
5456

5557
```java
5658
import com.apollographql.apollo3.ApolloClient;

0 commit comments

Comments
 (0)