Skip to content

Commit 37831f9

Browse files
Merge node with javascript platform (#9710)
* Merge node with javascript platform * Create symlinks for all previous node guides * Fix platform icons * Add categories to all SDKs, remove duplicate configuration where possible * Set SDK names; change titles of Profiling pages * Add redirects
1 parent 807b2ee commit 37831f9

File tree

410 files changed

+1639
-2281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

410 files changed

+1639
-2281
lines changed

docs/contributing/pages/components.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ If content is specified, it will automatically hide the content when the given `
121121
</Note>
122122

123123
```markdown {tabTitle:Example}
124-
<ConfigKey name="send-default-pii" notSupported={["javascript", "node"]}>
124+
<ConfigKey name="send-default-pii" notSupported={["javascript"]}>
125125

126126
Description of send-default-pii
127127

@@ -229,7 +229,7 @@ This will direct users to a page where they can choose the platform, and then to
229229
Render a section based on the currently selected `platform` in context. When the platform is not valid, the content will be hidden.
230230

231231
```markdown {tabTitle:Example}
232-
<PlatformSection notSupported={["javascript", "node"]}>
232+
<PlatformSection notSupported={["javascript"]}>
233233

234234
Something that applies to all platforms, but not javascript or node.
235235

docs/platforms/javascript/common/best-practices/browser-extensions.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
title: Browser Extensions
33
sidebar_order: 50
44
description: Learn how to use Sentry in shared environments (for example in browser extensions or VSCode extensions).
5+
notSupported:
6+
- javascript.node
7+
- javascript.aws-lambda
8+
- javascript.azure-functions
9+
- javascript.connect
10+
- javascript.express
11+
- javascript.gcp-functions
12+
- javascript.koa
513
keywords:
614
[
715
"BrowserClient",

docs/platforms/javascript/common/best-practices/index.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
title: Best Practices
33
description: "Learn how to set up Sentry in specific scenarios with those best practice guides"
44
sidebar_order: 3
5+
notSupported:
6+
- javascript.node
7+
- javascript.aws-lambda
8+
- javascript.azure-functions
9+
- javascript.connect
10+
- javascript.express
11+
- javascript.gcp-functions
12+
- javascript.koa
513
---
614

715
<PageGrid />

docs/platforms/javascript/common/best-practices/micro-frontends.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
title: Micro Frontends
33
sidebar_order: 200
44
description: Learn how to identify the source of errors and route events to different Sentry projects when using micro frontend or module federation.
5+
notSupported:
6+
- javascript.node
7+
- javascript.aws-lambda
8+
- javascript.azure-functions
9+
- javascript.connect
10+
- javascript.express
11+
- javascript.gcp-functions
12+
- javascript.koa
513
keywords:
614
[
715
"micro frontend",

docs/platforms/javascript/common/best-practices/multiple-sentry-instances.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
title: Multiple Sentry Instances
33
sidebar_order: 300
44
description: Learn how to manage several Sentry instances by creating your own clients.
5+
notSupported:
6+
- javascript.node
7+
- javascript.aws-lambda
8+
- javascript.azure-functions
9+
- javascript.connect
10+
- javascript.express
11+
- javascript.gcp-functions
12+
- javascript.koa
513
keywords:
614
[
715
"multiple instances",
@@ -110,5 +118,3 @@ scope1.setTag("a", "b");
110118
scope2.captureMessage("x");
111119
scope2.setTag("c", "d");
112120
```
113-
114-

docs/platforms/javascript/common/best-practices/offline-caching.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ notSupported:
77
- javascript.cordova
88
- javascript.electron
99
- javascript.wasm
10+
- javascript.node
11+
- javascript.aws-lambda
12+
- javascript.azure-functions
13+
- javascript.connect
14+
- javascript.express
15+
- javascript.gcp-functions
16+
- javascript.koa
1017
---
1118

1219
If your JavaScript application is designed to continue working offline,

docs/platforms/javascript/common/best-practices/web-workers.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ notSupported:
1515
- javascript.react
1616
- javascript.vue
1717
- javascript.wasm
18+
- javascript.node
19+
- javascript.aws-lambda
20+
- javascript.azure-functions
21+
- javascript.connect
22+
- javascript.express
23+
- javascript.gcp-functions
24+
- javascript.koa
1825
---
1926

2027
Sentry's Browser SDK supports [Web Workers API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). To capture unhandled errors from Web Workers:

docs/platforms/node/common/configuration/application-not-responding.mdx renamed to docs/platforms/javascript/common/configuration/application-not-responding.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
title: Application Not Responding (ANR)
33
sidebar_order: 70
44
description: "Learn how to turn off or specify ANRs for Node.js"
5+
supported:
6+
- javascript.node
7+
- javascript.aws-lambda
8+
- javascript.azure-functions
9+
- javascript.connect
10+
- javascript.express
11+
- javascript.gcp-functions
12+
- javascript.koa
513
keywords:
614
[
715
"anr",

docs/platforms/node/common/configuration/async-context.mdx renamed to docs/platforms/javascript/common/configuration/async-context.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
title: Async Context
33
sidebar_order: 80
44
description: "Learn more about how to isolate Sentry scope and breadcrumbs across requests."
5+
supported:
6+
- javascript.node
7+
- javascript.aws-lambda
8+
- javascript.azure-functions
9+
- javascript.connect
10+
- javascript.express
11+
- javascript.gcp-functions
12+
- javascript.koa
513
---
614

715
You can use the `runWithAsyncContext` method to isolate Sentry scope and breadcrumbs to a single request if you are using SDK v7.48.0 or higher. This is useful if you are finding that breadcrumbs and scope are leaking across requests.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ description: "Learn more about how to configure your SDK to filter events report
66

77
When you add Sentry to your app, you get a lot of valuable information about errors and performance. And lots of information is good -- as long as it's the right information, at a reasonable volume.
88

9-
10-
Sentry offers [Inbound Filters](/product/data-management-settings/filtering/) that you can enable per project to filter out various events in sentry.io. You can use our pre-defined inbound filters (e.g. filtering known browser extensions), as well as add your own message-based filters.
9+
Sentry offers [Inbound Filters](/product/data-management-settings/filtering/) that you can enable per project to filter out various events in sentry.io. You can use our pre-defined inbound filters (e.g. filtering known browser extensions), as well as add your own message-based filters.
1110

1211
However, we recommend filtering at the client-level, because it removes the overhead of sending events you don't actually want. The Sentry SDKs have several configuration options, which are described in this document, to help you filter out events. To learn more about the event fields you can use for filtering, see [Event Payloads](https://develop.sentry.dev/sdk/event-payloads/).
1312

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
title: Breadcrumbs
3-
excerpt: ""
43
description: "Wraps native APIs to capture breadcrumbs. (default)"
5-
sidebar_order: 1
64
notSupported:
5+
- javascript.node
6+
- javascript.aws-lambda
7+
- javascript.azure-functions
8+
- javascript.connect
9+
- javascript.express
10+
- javascript.gcp-functions
11+
- javascript.koa
712
- javascript.electron
813
---
914

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
---
22
title: BrowserTracing
3-
excerpt: ""
43
description: "Capture performance data for the Browser."
5-
sidebar_order: 99
64
notSupported:
75
- javascript.cordova
6+
- javascript.node
7+
- javascript.aws-lambda
8+
- javascript.azure-functions
9+
- javascript.connect
10+
- javascript.express
11+
- javascript.gcp-functions
12+
- javascript.koa
813
---
914

1015
With [performance monitoring](/product/performance/), Sentry tracks your software performance, measuring metrics like throughput and latency, and displaying the impact of errors across multiple systems. Sentry captures distributed traces consisting of transactions and spans, which measure individual services and individual operations within those services.

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
---
22
title: CaptureConsole
3-
excerpt: ""
43
description: "Captures all Console API calls via `captureException` or `captureMessage`."
5-
sidebar_order: 100
4+
notSupported:
5+
- javascript.node
6+
- javascript.aws-lambda
7+
- javascript.azure-functions
8+
- javascript.connect
9+
- javascript.express
10+
- javascript.gcp-functions
11+
- javascript.koa
612
---
713

814
This integration captures all Console API calls and redirects them to Sentry using the SDK's captureMessage or captureException call, depending on the log level. It then re-triggers to preserve default native behavior:

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
---
22
title: ContextLines
3-
excerpt: ""
43
description: "Adds source code from inline JavaScript of the current page's HTML."
5-
sidebar_order: 100
4+
notSupported:
5+
- javascript.node
6+
- javascript.aws-lambda
7+
- javascript.azure-functions
8+
- javascript.connect
9+
- javascript.express
10+
- javascript.gcp-functions
11+
- javascript.koa
612
---
713

814
_Import name: `Sentry.contextLinesIntegration`_

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
title: Custom Integrations
33
sidebar_order: 200
44
description: "Learn how you can enable a custom integration."
5+
notSupported:
6+
- javascript.node
7+
- javascript.aws-lambda
8+
- javascript.azure-functions
9+
- javascript.connect
10+
- javascript.express
11+
- javascript.gcp-functions
12+
- javascript.koa
513
---
614

715
In addition to the integrations that come with the SDK, you can also write custom integrations.

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
---
22
title: Debug
3-
excerpt: ""
43
description: "Allows you to inspect the contents of a processed event and hint object that gets passed to beforeSend or beforeSendTransaction."
5-
sidebar_order: 100
4+
notSupported:
5+
- javascript.node
6+
- javascript.aws-lambda
7+
- javascript.azure-functions
8+
- javascript.connect
9+
- javascript.express
10+
- javascript.gcp-functions
11+
- javascript.koa
612
---
713

814
This integration allows you to inspect the contents of a processed event and hint object that gets passed to `beforeSend` or `beforeSendTransaction`. It will always run as the last integration, no matter when it was registered.

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
---
22
title: Dedupe
3-
excerpt: ""
43
description: "Deduplicate certain events to avoid receiving duplicate errors. (default)"
5-
sidebar_order: 1
64
notSupported:
75
- javascript.electron
6+
- javascript.node
7+
- javascript.aws-lambda
8+
- javascript.azure-functions
9+
- javascript.connect
10+
- javascript.express
11+
- javascript.gcp-functions
12+
- javascript.koa
813
---
914

1015
_Import name: `Sentry.dedupeIntegration`_

docs/platforms/node/common/configuration/integrations/default-integrations.mdx renamed to docs/platforms/javascript/common/configuration/integrations/default-integrations.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
title: Default Integrations
33
sidebar_order: 900
44
description: "Learn about default integrations, what they do, and how they hook into the standard library or the interpreter itself."
5+
supported:
6+
- javascript.node
7+
- javascript.aws-lambda
8+
- javascript.azure-functions
9+
- javascript.connect
10+
- javascript.express
11+
- javascript.gcp-functions
12+
- javascript.koa
513
---
614

715
System integrations are enabled by default to integrate into the standard library or the interpreter itself. They're documented so you can understand what they do and disable them if they cause issues.

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
---
22
title: ExtraErrorData
3-
excerpt: ""
43
description: "Extracts all non-native attributes from the error object and attaches them to the event as extra data."
5-
sidebar_order: 100
4+
notSupported:
5+
- javascript.node
6+
- javascript.aws-lambda
7+
- javascript.azure-functions
8+
- javascript.connect
9+
- javascript.express
10+
- javascript.gcp-functions
11+
- javascript.koa
612
---
713

814
This integration extracts all non-native attributes from the error object and attaches them to the event as extra data. If the error object has a .toJSON() method, the ExtraErrorData integration will run it to extract additional information.

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
---
22
title: FunctionToString
3-
excerpt: ""
43
description: "Allows the SDK to provide original functions and method names, even when those functions or methods are wrapped by our error or breadcrumb handlers. (default)"
5-
sidebar_order: 1
4+
notSupported:
5+
- javascript.node
6+
- javascript.aws-lambda
7+
- javascript.azure-functions
8+
- javascript.connect
9+
- javascript.express
10+
- javascript.gcp-functions
11+
- javascript.koa
612
---
713

814
_Import name: `Sentry.functionToStringIntegration`_

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
---
22
title: GlobalHandlers
3-
excerpt: ""
43
description: "Attaches global handlers to capture uncaught exceptions and unhandled rejections. (default)"
5-
sidebar_order: 1
64
notSupported:
75
- javascript.electron
6+
- javascript.node
7+
- javascript.aws-lambda
8+
- javascript.azure-functions
9+
- javascript.connect
10+
- javascript.express
11+
- javascript.gcp-functions
12+
- javascript.koa
813
---
914

1015
_Import name: `Sentry.globalHandlersIntegration`_

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
---
22
title: HttpClient
3-
excerpt: ""
43
description: "Captures errors on failed requests from Fetch and XHR and attaches request and response information."
5-
sidebar_order: 100
4+
notSupported:
5+
- javascript.node
6+
- javascript.aws-lambda
7+
- javascript.azure-functions
8+
- javascript.connect
9+
- javascript.express
10+
- javascript.gcp-functions
11+
- javascript.koa
612
---
713

814
This integration captures errors on failed requests from Fetch and XHR and attaches request and response information.

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
---
22
title: HttpContext
3-
excerpt: ""
43
description: "Attaches HTTP request information, such as URL, user-agent, referrer, and other headers to the event. (default)"
5-
sidebar_order: 1
64
notSupported:
75
- javascript.electron
6+
- javascript.node
7+
- javascript.aws-lambda
8+
- javascript.azure-functions
9+
- javascript.connect
10+
- javascript.express
11+
- javascript.gcp-functions
12+
- javascript.koa
813
---
914

1015
_Import name: `Sentry.httpContextIntegration`_

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
---
22
title: InboundFilters
3-
excerpt: ""
43
description: "Allows you to ignore specific errors based on the type, message, or URLs in a given exception. (default)"
5-
sidebar_order: 1
4+
notSupported:
5+
- javascript.node
6+
- javascript.aws-lambda
7+
- javascript.azure-functions
8+
- javascript.connect
9+
- javascript.express
10+
- javascript.gcp-functions
11+
- javascript.koa
612
---
713

814
_Import name: `Sentry.inboundFiltersIntegration`_

0 commit comments

Comments
 (0)