Skip to content

Commit 53058bb

Browse files
timfishcoolguyzone
authored andcommitted
feat(node): Document processThreadBreadcrumbIntegration (#11748)
Co-authored-by: Alex Krawiec <[email protected]>
1 parent 9b4f503 commit 53058bb

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: Process and Threads Breadcrumbs Integration
3+
description: "Adds breadcrumbs 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+
<Alert level="info">
24+
25+
This integration only works in Node.js and requires SDK version `8.36.0` or
26+
higher.
27+
28+
</Alert>
29+
30+
_Import name: `Sentry.processThreadBreadcrumbIntegration`_
31+
32+
This integration is enabled by default. If you'd like to modify your default
33+
integrations, read [this](./../#modifying-default-integrations).
34+
35+
The `processThreadBreadcrumbIntegration` adds breadcrumbs for `child_process`
36+
and `worker_threads` errors and `child_process` non-zero exit codes.
37+
38+
## Options
39+
40+
### `includeChildProcessArgs`
41+
42+
_Type: `boolean`_
43+
44+
If set to `true`, the integration will include the arguments used to start child
45+
processes.

0 commit comments

Comments
 (0)