Skip to content

Commit ce34ab8

Browse files
coolguyzoneAlex Krawiec
andauthored
Fix bad link and update broken redirects (#11878)
* Fix bad link and update broken redirects * Fix typo --------- Co-authored-by: Alex Krawiec <[email protected]>
1 parent 06ff473 commit ce34ab8

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

docs/platforms/react-native/enriching-events/identify-user/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ An alternative, or addition, to the username. Sentry is aware of email addresses
2222
### `ip_address`
2323

2424
The user's IP address. If the user is unauthenticated, Sentry uses the IP address as a unique identifier for the user.
25-
Serverside SDKs that instrument incoming requests will attempt to pull the IP address from the HTTP request data (`request.env.REMOTE_ADDR` field in JSON), if available. This requires you to set the `include.ip` option to `true` in the [`RequestData`](/platforms/javascript/guides/connect/configuration/integrations/default-integrations/#requestdata) integration.
25+
Serverside SDKs that instrument incoming requests will attempt to pull the IP address from the HTTP request data (`request.env.REMOTE_ADDR` field in JSON), if available. This requires you to set the `include.ip` option to `true` in the [`RequestData`](/platforms/javascript/guides/connect/configuration/integrations/requestdata/) integration.
2626

2727
If the user's `ip_address` is set to `"{{auto}}"`, Sentry will infer the IP address from the connection between your app and Sentry's server.
2828

src/middleware.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,6 +1589,28 @@ const USER_DOCS_REDIRECTS: Redirect[] = [
15891589
from: '/platforms/javascript/guides/:guide/tracing/instrumentation/opentelemetry/',
15901590
to: '/platforms/javascript/guides/:guide/opentelemetry/',
15911591
},
1592+
// START bandaid fix for #11870
1593+
{
1594+
from: '/platforms/java/performance/instrumentation/opentelemetry/',
1595+
to: '/platforms/java/tracing/instrumentation/opentelemetry/',
1596+
},
1597+
{
1598+
from: '/platforms/go/performance/instrumentation/opentelemetry/',
1599+
to: '/platforms/go/tracing/instrumentation/opentelemetry/',
1600+
},
1601+
{
1602+
from: '/platforms/javascript/guides/node/performance/instrumentation/opentelemetry/',
1603+
to: '/platforms/javascript/guides/node/opentelemetry/',
1604+
},
1605+
{
1606+
from: '/platforms/python/performance/instrumentation/opentelemetry/',
1607+
to: '/platforms/python/tracing/instrumentation/opentelemetry/',
1608+
},
1609+
{
1610+
from: '/platforms/ruby/performance/instrumentation/opentelemetry/',
1611+
to: '/platforms/ruby/tracing/instrumentation/opentelemetry/',
1612+
},
1613+
// END bandaid fix for #11870
15921614
{
15931615
from: '/learn/cli/configuration/',
15941616
to: '/cli/configuration/',

0 commit comments

Comments
 (0)