Skip to content

Commit

Permalink
Fix Apollo links (#12952)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcian authored Mar 7, 2025
1 parent 8442e84 commit 1d80502
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <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.
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.

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:

Expand Down
6 changes: 3 additions & 3 deletions src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/',
Expand Down

0 comments on commit 1d80502

Please sign in to comment.