Skip to content

Commit 1d80502

Browse files
authored
Fix Apollo links (#12952)
1 parent 8442e84 commit 1d80502

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

platform-includes/distributed-tracing/custom-instrumentation/android.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If you pass these headers to Sentry's `continueTrace()` function it will store t
3434

3535
For distributed tracing to work, the two headers `sentry-trace` and `baggage`, must now also be added to outgoing requests.
3636

37-
If you are sending outgoing HTTP requests with <PlatformLink to="/integrations/okhttp/">OkHttp</PlatformLink>, <PlatformLink to="/integrations/apollo/">Apollo</PlatformLink> or <PlatformLink to="/integrations/apollo3/">Apollo 3</PlatformLink> 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.
37+
If you are sending outgoing HTTP requests with <PlatformLink to="/integrations/okhttp/">OkHttp</PlatformLink>, <PlatformLink to="/integrations/apollo2/">Apollo 2</PlatformLink>, <PlatformLink to="/integrations/apollo3/">Apollo 3</PlatformLink> or <PlatformLink to="/integrations/apollo4/">Apollo 4</PlatformLink> 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.
3838

3939
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:
4040

src/middleware.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,15 +852,15 @@ const USER_DOCS_REDIRECTS: Redirect[] = [
852852
},
853853
{
854854
from: '/platforms/android/performance/instrumentation/apollo/',
855-
to: '/platforms/android/integrations/apollo2/',
855+
to: '/platforms/android/integrations/apollo4/',
856856
},
857857
{
858858
from: '/platforms/android/configuration/integrations/apollo/',
859-
to: '/platforms/android/integrations/apollo2/',
859+
to: '/platforms/android/integrations/apollo4/',
860860
},
861861
{
862862
from: '/platforms/android/integrations/apollo/',
863-
to: '/platforms/android/integrations/apollo2/',
863+
to: '/platforms/android/integrations/apollo4/',
864864
},
865865
{
866866
from: '/platforms/android/configuration/integrations/fragment/',

0 commit comments

Comments
 (0)