Skip to content

Commit

Permalink
RUMM-554 Update Docs for integration with Apollo
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusc83 committed Sep 1, 2020
1 parent c57c1cd commit 55a0caa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ If you use Retrofit, let it use your `OkHttpClient`, and you'll get RUM and APM
.build()
```

### Apollo (GraphQL)

If you use Apollo, let it use your `OkHttpClient`, and you'll get RUM and APM information about all the queries performed through Apollo client.

```kotlin
val apolloClient = ApolloClient.builder()
.okHttpClient(okHttpClient)
.serverUrl(<APOLLO_SERVER_URL>)
.build()
```

## Looking up your logs

When you open your console in Datadog, navigate to the Logs section. In the search bar, type `source:android`. This filters your logs to only show the ones coming from mobile applications (Android and iOS).
Expand Down

0 comments on commit 55a0caa

Please sign in to comment.