-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(js): Document dataloaderIntegration released with 8.31.0 (#11416)
- Loading branch information
1 parent
d28b4ee
commit f9a8fa5
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
docs/platforms/javascript/common/configuration/integrations/dataloader.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: Dataloader | ||
description: "Adds instrumentation for Dataloader. (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 | ||
- javascript.bun | ||
--- | ||
|
||
<Alert level="info"> | ||
|
||
This integration only works in the Node.js and Bun runtimes. Requires SDK version `8.31.0` or higher. | ||
|
||
</Alert> | ||
|
||
_Import name: `Sentry.dataloaderIntegration`_ | ||
|
||
This integration is enabled by default when performance monitoring is enabled. If you'd like to modify your default integrations, read [this](./../#modifying-default-integrations). | ||
|
||
The `dataloaderIntegration` adds instrumentation for the `dataloader` library to capture spans using [`@opentelemetry/instrumentation-dataloader`](https://www.npmjs.com/package/@opentelemetry/instrumentation-dataloader). | ||
|
||
## Supported Versions | ||
|
||
- `dataloader`: `>=2.0.0 <3` |