diff --git a/docs/platforms/javascript/common/configuration/integrations/processThreadsBreadcrumb.mdx b/docs/platforms/javascript/common/configuration/integrations/processThreadsBreadcrumb.mdx new file mode 100644 index 00000000000000..aec90e3d4f2283 --- /dev/null +++ b/docs/platforms/javascript/common/configuration/integrations/processThreadsBreadcrumb.mdx @@ -0,0 +1,45 @@ +--- +title: Process and Threads Breadcrumbs Integration +description: "Adds breadcrumbs for child processes and worker threads (default)" +supported: + - javascript.node + - javascript.aws-lambda + - javascript.azure-functions + - javascript.connect + - javascript.express + - javascript.fastify + - javascript.gcp-functions + - javascript.hapi + - javascript.koa + - javascript.nestjs + - javascript.electron + - javascript.nextjs + - javascript.nuxt + - javascript.sveltekit + - javascript.remix + - javascript.astro +--- + + + +This integration only works in Node.js and requires SDK version `8.36.0` or +higher. + + + +_Import name: `Sentry.processThreadBreadcrumbIntegration`_ + +This integration is enabled by default. If you'd like to modify your default +integrations, read [this](./../#modifying-default-integrations). + +The `processThreadBreadcrumbIntegration` adds breadcrumbs for `child_process` +and `worker_threads` errors and `child_process` non-zero exit codes. + +## Options + +### `includeChildProcessArgs` + +_Type: `boolean`_ + +If set to `true`, the integration will include the arguments used to start child +processes.