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

0 commit comments

Comments
 (0)