Skip to content

Commit 969f7b9

Browse files
sfanahataShannon Anahataa-hariti
authored
Fixed the broken links that fell through the cracks while the linter… (#15316)
## DESCRIBE YOUR PR Related to #15312 Fixed broken links that the 404 linter didn't catch while it was broken. ## On Devloper Docs - 🌐 http://localhost:3000/sdk/telemetry/profiles/continuous-profiling-api - `[Replay session](/product/explore/session-replay/web/)` - 🌐 http://localhost:3000/sdk/telemetry/traces/modules/ai-agents - `[general size limits](/concepts/data-management/size-limits/)` ## On user facing docs - 🌐 http://localhost:3000/security-legal-pii/security/data-retention-periods - `[Uptime](/product/monitoring/)` - `[Attachments](/product/issues/issue-details/attachments/)` - 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/install__v9.x - `[using our Lambda Layer (recommended)](./install/layer__v9.x)` -` [installing the Sentry AWS NPM package](./install/cjs-npm__v9.x)` - `[ESM instructions](./install/esm-npm__v9.x)` - 🌐 http://localhost:3000/platforms/javascript/guides/cloudflare/sourcemaps - `[Cloudflare Workers guide](/platforms/javascript/sourcemaps/uploading/wrangler/)` - 🌐 http://localhost:3000/platforms/javascript/guides/nuxt/sourcemaps - `[source maps options](/platforms/javascript/guides/nuxt/configuration/build/#source-maps-options)` - 🌐 http://localhost:3000/platforms/javascript/guides/solidstart/sourcemaps - `[Manual Configuration](../overview/javascript.solidstart.mdx)` - `[source maps options](/platforms/javascript/guides/solidstart/configuration/build/#source-maps-options)` - 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/install/layer__v9.x - `[manually](../cjs-npm)` - `[ESM guide](../esm-npm)` - 🌐 http://localhost:3000/platforms/javascript/guides/cordova/configuration/options - Obscured CORS docs because it doesn't apply to Cordova - 🌐 http://localhost:3000/platforms/javascript/guides/electron/configuration/options - `[Custom IPC Namespace section](/platforms/javascript/guides/electron/platforms/javascript/guides/electron/#custom-ipc-namespace)` - 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/configuration/lambda-wrapper - `[initializing the SDK in code](../../install/cjs-layer#alternative-initialize-the-sdk-in-code)` - 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/install/npm__v9.x - `[CommonJS instructions](./cjs-npm__v9.x)` - `[ESM instructions](./esm-npm__v9.x)` - `[CommonJS instructions](./cjs-npm__v9.x)` - `[ESM instructions](./esm-npm__v9.x)` - 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/install/cjs-npm__v9.x - `[Lambda Layer](../cjs-layer)` - 🌐 http://localhost:3000/platforms/javascript/guides/electron/configuration/environments - `[Custom IPC Namespace section](/platforms/javascript/guides/electron/platforms/javascript/guides/electron/#custom-ipc-namespace)` - 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/configuration/integrations/unhandledrejection - `[manually wrapped](/platforms/javascript/guides/aws-lambda/install/cjs-layer/#alternative-initialize-the-sdk-in-code)` ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [x] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) --------- Co-authored-by: Shannon Anahata <shannonanahata@gmail.com> Co-authored-by: Abdellah Hariti <haritiabdellah@gmail.com>
1 parent 3b7288c commit 969f7b9

File tree

17 files changed

+24
-20
lines changed

17 files changed

+24
-20
lines changed

develop-docs/sdk/telemetry/profiles/continuous-profiling-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ interface SentryOptions {
5555
The definition of a profiling session depends on the profiling type:
5656

5757
- **Continuous Profiling**: The session starts when the Sentry SDK is configured and stops when the service terminates. `profile_session_sample_rate` controls the percentage of service instances that have profiling enabled. Sampling is re-evaluated on service restart or redeployment.
58-
- **UI Profiling**: The session corresponds to a user session. A user session starts with a new SDK initialization. It ends when the browser tab is closed, or alternatively, under the same conditions that end a [Replay session](/product/explore/session-replay/web/). `profile_session_sample_rate` sets the percentage of user sessions for which profiling is enabled. So this sampling decision is made once on SDK initialization.
58+
- **UI Profiling**: The session corresponds to a user session. A user session starts with a new SDK initialization. It ends when the browser tab is closed, or alternatively, under the same conditions that end a [Replay session](https://docs.sentry.io/product/explore/session-replay/). `profile_session_sample_rate` sets the percentage of user sessions for which profiling is enabled. So this sampling decision is made once on SDK initialization.
5959
- **On mobile**: Backgrounding and foregrounding the app starts a new user session, and sampling is re-evaluated. If a trace is active when the app is foregrounded, the existing profiling session continues until the last root span in that trace finishes. The new sample rate will only take effect when the profiler is next started.
6060

6161
<Alert level="warning">

develop-docs/sdk/telemetry/traces/modules/ai-agents.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,5 @@ Some attributes are common to all AI Agents spans:
193193
| `"xai"` | xAI |
194194

195195
## Size Limits
196-
In addition to the [general size limits](/concepts/data-management/size-limits/) for events, spans, and attachments, there are specific size limits for AI integrations:
196+
In addition to the [general size limits](https://docs.sentry.io/concepts/data-management/size-limits/) for events, spans, and attachments, there are specific size limits for AI integrations:
197197
- Input messages in AI integrations recorded in the span attribute `gen_ai.request.messages` are limited to 20kB per span. Messages are trimmed and truncated if they exceed the limit, retaining the most recent messages.

docs/platforms/javascript/common/configuration/integrations/unhandledrejection.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Sentry.init({
5252
AWS adds their own `unhandledRejection` handlers to a lambda function which results in Sentry not being able to pick these up.
5353
As a workaround, remove all handlers before initializing Sentry.
5454

55-
Unfortunately, this means the AWS Lambda handler has to be <PlatformLink to="/install/cjs-layer/#alternative-initialize-the-sdk-in-code">manually wrapped</PlatformLink>.
55+
Unfortunately, this means the AWS Lambda handler has to be <PlatformLink to="/install/layer/#alternative-initialize-the-sdk-in-code">manually wrapped</PlatformLink>.
5656

5757
```JavaScript
5858
const Sentry = require("@sentry/aws-serverless");

docs/platforms/javascript/common/configuration/options.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ Sentry.init({
290290
});
291291
```
292292

293-
When set, the IPC channels used by Sentry will be prefixed with the specified namespace. Note that you need to configure the same namespace in your main process, renderer processes, and preload scripts for proper communication. See the <PlatformLink to="/platforms/javascript/guides/electron/#custom-ipc-namespace">Custom IPC Namespace section</PlatformLink> for complete setup instructions.
293+
When set, the IPC channels used by Sentry will be prefixed with the specified namespace. Note that you need to configure the same namespace in your main process, renderer processes, and preload scripts for proper communication. See the [Custom IPC Namespace section](/platforms/javascript/guides/electron/#custom-ipc-namespace) for complete setup instructions.
294294

295295
</SdkOption>
296296

@@ -482,11 +482,15 @@ If set to `true`, the SDK adds the [W3C `traceparent` header](https://www.w3.org
482482
This header is attached in addition to the `sentry-trace` and `baggage` headers.
483483
Set this option to `true` if your backend services are instrumented with e.g. OpenTelemetry or other W3C Trace Context compatible libraries and you want to continue traces from the client.
484484

485+
<PlatformSection notSupported={["javascript.cordova"]}>
486+
485487
**Important:** Make sure that your backend services' CORS configuration allows the `traceparent` header.
486488
Otherwise, requests might be blocked.
487489
Use the [`tracePropagationTargets` option](#tracepropagationtargets) to control which requests the `traceparent` header is attached to.
488490
See <PlatformLink to="/tracing/distributed-tracing/dealing-with-cors-issues/">Dealing with CORS Issues</PlatformLink> for more information.
489491

492+
</PlatformSection>
493+
490494
</SdkOption>
491495

492496
<PlatformCategorySection supported={['browser']}>

docs/platforms/javascript/guides/aws-lambda/configuration/lambda-wrapper.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_order: 2
66

77
On this page you'll learn about the options to configure the `Sentry.wrapHandler` wrapper for your Lambda function.
88

9-
If you're using the AWS Lambda layer with environment variables (i.e. no Sentry code in your function), skip this guide or switch to the [initializing the SDK in code](../../install/cjs-layer#alternative-initialize-the-sdk-in-code).
9+
If you're using the AWS Lambda layer with environment variables (i.e. no Sentry code in your function), skip this guide or switch to the [initializing the SDK in code](../../install/layer#alternative-initialize-the-sdk-in-code).
1010

1111
## Flush Timeout
1212

docs/platforms/javascript/guides/aws-lambda/install/cjs-npm__v9.x.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ In this guide you will learn how to set up the `@sentry/aws-serverless` SDK for
88
We recommend starting the SDK automatically via environment variables so that you only have to make minimal code changes to your lambda function.
99
If you need more control over the SDK setup, you can also [initialize the SDK in in code](#alternative-initialize-the-sdk-in-code).
1010

11-
However, you need to modify your code and deploy the Sentry dependencies alongside your function code. If you're looking for the most simple way to set up Sentry, you might want to use the [Lambda Layer](../cjs-layer) instead.
11+
However, you need to modify your code and deploy the Sentry dependencies alongside your function code. If you're looking for the most simple way to set up Sentry, you might want to use the [Lambda Layer](./layer__v9.x) instead.
1212

1313
## 1. Prerequisites
1414

docs/platforms/javascript/guides/aws-lambda/install/index__v9.x.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Note that TypeScript can also be configured to output ESM, in which case you sho
1818

1919
### My Lambda function uses `require`
2020

21-
If you are using `require()` in your function, follow the CommonJS instructions. Choose between [using our Lambda Layer (recommended)](./install/layer__v9.x) or [installing the Sentry AWS NPM package](./install/cjs-npm__v9.x).
21+
If you are using `require()` in your function, follow the CommonJS instructions. Choose between [using our Lambda Layer (recommended)](./install/layer__v9.x) or [installing the Sentry AWS NPM package](./install/npm__v9.x).
2222

2323
### My Lambda function uses `import`
2424

docs/platforms/javascript/guides/aws-lambda/install/layer__v8.x.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ sidebar_order: 1
55
noindex: true
66
---
77

8-
The easiest way to get started with Sentry is to use the Sentry [Lambda Layer](https://docs.aws.amazon.com/Lambda/latest/dg/configuration-layers.html) instead of adding `@sentry/aws-serverless` with `npm` or `yarn` [manually](../cjs-npm).
8+
The easiest way to get started with Sentry is to use the Sentry [Lambda Layer](https://docs.aws.amazon.com/Lambda/latest/dg/configuration-layers.html) instead of adding `@sentry/aws-serverless` with `npm` or `yarn` [manually](../install/npm).
99
If you follow this guide, you don't have to worry about deploying Sentry dependencies alongside your function code.
1010
To actually start the SDK, you can decide between setting up the SDK using environment variables or in your Lambda function code. We recommend using environment variables as it's the easiest way to get started. [Initializing the SDK in code](#alternative-initialize-the-sdk-in-code) instead of setting environment variables gives you more control over the SDK setup if you need it.
1111

1212
<Alert>
1313

14-
This installation method **does not** work with Lambda functions running in EcmaScript Modules (ESM) mode, using `import` syntax. If you're running your function in ESM, follow the [ESM guide](../esm-npm).
14+
This installation method **does not** work with Lambda functions running in EcmaScript Modules (ESM) mode, using `import` syntax. If you're running your function in ESM, follow the [ESM guide](../install/npm).
1515

1616
</Alert>
1717

docs/platforms/javascript/guides/aws-lambda/install/layer__v9.x.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ description: "Learn how to add the Sentry Node Lambda Layer to use Sentry in you
44
sidebar_order: 1
55
---
66

7-
The easiest way to get started with Sentry is to use the Sentry [Lambda Layer](https://docs.aws.amazon.com/lambda/latest/dg/adding-layers.html) instead of adding `@sentry/aws-serverless` with `npm` or `yarn` [manually](../cjs-npm).
7+
The easiest way to get started with Sentry is to use the Sentry [Lambda Layer](https://docs.aws.amazon.com/lambda/latest/dg/adding-layers.html) instead of adding `@sentry/aws-serverless` with `npm` or `yarn` [manually](./npm__v9.x).
88
If you follow this guide, you don't have to worry about deploying Sentry dependencies alongside your function code.
99
To actually start the SDK, you can decide between setting up the SDK using environment variables or in your Lambda function code. We recommend using environment variables as it's the easiest way to get started. [Initializing the SDK in code](#alternative-initialize-the-sdk-in-code) instead of setting environment variables gives you more control over the SDK setup if you need it.
1010

1111
<Alert>
1212

13-
This installation method **does not** work with Lambda functions running in EcmaScript Modules (ESM) mode, using `import` syntax. If you're running your function in ESM, follow the [ESM guide](../esm-npm).
13+
This installation method **does not** work with Lambda functions running in EcmaScript Modules (ESM) mode, using `import` syntax. If you're running your function in ESM, follow the [ESM guide](../npm__v9.x).
1414

1515
</Alert>
1616

docs/security-legal-pii/security/data-retention-periods.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ By default, new account trials are granted Team plan retention. If you are trial
2121
| [User Feedback](/product/user-feedback/) | 30 days | 90 days | 90 days |
2222
| [Profiles](/product/explore/profiling/) | 30 days | 90 days | 90 days |
2323
| [Crons](/product/crons/) | 30 days | 30 days | 30 days |
24-
| [Uptime](/product/monitoring/) | 30 days | 90 days | 90 days |
25-
| [Attachments](/product/issues/issue-details/attachments/) | 30 days | 90 days | 90 days |
24+
| [Uptime](/product/uptime-monitoring/) | 30 days | 90 days | 90 days |
25+
| [Attachments](/product/issues/issue-details/#attachments) | 30 days | 90 days | 90 days |
2626

2727
<Alert>
2828
Starting November 2025, Team and Business plans will move from the current 90 day retention period for spans, transactions, and profiles to 30 days. **Exception:** If you are on a [Team or Business plan](https://sentry.io/settings/billing/overview/) that uses transaction-based billing, transaction retention will stay at 90 days, and sampled retention of spans data will not apply.

0 commit comments

Comments
 (0)