Skip to content

Commit

Permalink
feat(js): Document dataloaderIntegration released with 8.31.0 (#11416)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad authored Sep 26, 2024
1 parent d28b4ee commit f9a8fa5
Showing 1 changed file with 38 additions and 0 deletions.
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`

0 comments on commit f9a8fa5

Please sign in to comment.