You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Adds instrumentation for child processes and worker threads (default)"
4
+
supported:
5
+
- javascript.node
6
+
- javascript.aws-lambda
7
+
- javascript.azure-functions
8
+
- javascript.connect
9
+
- javascript.express
10
+
- javascript.fastify
11
+
- javascript.gcp-functions
12
+
- javascript.hapi
13
+
- javascript.koa
14
+
- javascript.nestjs
15
+
- javascript.electron
16
+
- javascript.nextjs
17
+
- javascript.nuxt
18
+
- javascript.sveltekit
19
+
- javascript.remix
20
+
- javascript.astro
21
+
---
22
+
23
+
<Alertlevel="info">
24
+
25
+
This integration only works in Node.js and requires SDK version `8.39.0` or higher.
26
+
27
+
</Alert>
28
+
29
+
_Import name: `Sentry.childProcessIntegration`_
30
+
31
+
This integration is enabled by default. If you'd like to modify your default integrations, read <PlatformLinkto="/configuration/integrations/#modifying-default-integrations">Modifying Default Integrations</PlatformLink>.
32
+
33
+
The `childProcessIntegration` adds breadcrumbs for `child_process` and `worker_threads` errors and `child_process` non-zero exit codes.
34
+
35
+
```JavaScript
36
+
Sentry.init({
37
+
integrations: [Sentry.childProcessIntegration()],
38
+
});
39
+
```
40
+
41
+
## Options
42
+
43
+
### `includeChildProcessArgs`
44
+
45
+
_Type: `boolean`_
46
+
47
+
If set to `true`, the integration will include the arguments used to start child processes.
Copy file name to clipboardExpand all lines: docs/platforms/javascript/common/configuration/integrations/processThreadsBreadcrumb.mdx
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,12 @@ supported:
20
20
- javascript.astro
21
21
---
22
22
23
+
<Alert>
24
+
25
+
This integration is deprecated and has been replaced with the <PlatformLinkto="/configuration/integrations/childProcess/">`Child Process Integration`</PlatformLink>
26
+
27
+
</Alert>
28
+
23
29
<Alertlevel="info">
24
30
25
31
This integration only works in Node.js and requires SDK version `8.36.0` or higher.
@@ -28,7 +34,7 @@ This integration only works in Node.js and requires SDK version `8.36.0` or high
This integration is enabled by default. If you'd like to modify your default integrations, read [this](./../#modifying-default-integrations).
37
+
This integration is enabled by default. If you'd like to modify your default integrations, read <PlatformLinkto="/configuration/integrations/#modifying-default-integrations">Modifying Default Integrations</PlatformLink>.
32
38
33
39
The `processThreadBreadcrumbIntegration` adds breadcrumbs for `child_process` and `worker_threads` errors and `child_process` non-zero exit codes.
0 commit comments