diff --git a/platform-includes/distributed-tracing/custom-instrumentation/android.mdx b/platform-includes/distributed-tracing/custom-instrumentation/android.mdx index 264cec3cacd99..3472587059fcd 100644 --- a/platform-includes/distributed-tracing/custom-instrumentation/android.mdx +++ b/platform-includes/distributed-tracing/custom-instrumentation/android.mdx @@ -34,7 +34,7 @@ If you pass these headers to Sentry's `continueTrace()` function it will store t For distributed tracing to work, the two headers `sentry-trace` and `baggage`, must now also be added to outgoing requests. -If you are sending outgoing HTTP requests with OkHttp, Apollo or Apollo 3 and have our integration for it enabled, this tracing information is automatically added to outgoing requests. You do not have to enable Performance for distributed tracing to work. +If you are sending outgoing HTTP requests with OkHttp, Apollo 2, Apollo 3 or Apollo 4 and have our integration for it enabled, this tracing information is automatically added to outgoing requests. You do not have to enable Performance for distributed tracing to work. If you're using none of the above, you can generate this tracing information with the Sentry SDK's `getTraceparent()` and `getBaggage()` functions. Here's an example: diff --git a/src/middleware.ts b/src/middleware.ts index fbadf12289763..6a39707302d5c 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -852,15 +852,15 @@ const USER_DOCS_REDIRECTS: Redirect[] = [ }, { from: '/platforms/android/performance/instrumentation/apollo/', - to: '/platforms/android/integrations/apollo2/', + to: '/platforms/android/integrations/apollo4/', }, { from: '/platforms/android/configuration/integrations/apollo/', - to: '/platforms/android/integrations/apollo2/', + to: '/platforms/android/integrations/apollo4/', }, { from: '/platforms/android/integrations/apollo/', - to: '/platforms/android/integrations/apollo2/', + to: '/platforms/android/integrations/apollo4/', }, { from: '/platforms/android/configuration/integrations/fragment/',