Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(js): Add docs for generic pool integration #11305

Merged
merged 3 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
title: Generic Pool
description: "Adds instrumentation for Generic Pool. (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.29.0` or higher.

</Alert>

_Import name: `Sentry.genericPoolIntegration`_

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 `genericPoolIntegration` adds instrumentation for the `generic-pool` library to capture spans using [`@opentelemetry/instrumentation-generic-pool`](https://www.npmjs.com/package/@opentelemetry/instrumentation-generic-pool).

## Supported Versions

- `generic-pool`: `>=2.0.0 <4`
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Depending on whether an integration enhances the functionality of a particular r
| [`consoleIntegration`](./console) | ✓ | | | ✓ |
| [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | |
| [`httpIntegration`](./http) | ✓ | ✓ | ✓ | ✓ |
| [`genericPoolIntegration`](./genericpool) | ✓ | | ✓ | |
| [`graphqlIntegration`](./graphql) | ✓ | | ✓ | |
| [`modulesIntegration`](./modules) | ✓ | | | ✓ |
| [`mongoIntegration`](./mongo) | ✓ | | ✓ | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
| [`captureConsoleIntegration`](./captureconsole) | | | | ✓ |
| [`debugIntegration`](./debug) | | | | |
| [`extraErrorDataIntegration`](./extraerrordata) | | | | ✓ |
| [`genericPoolIntegration`](./genericpool) | | | ✓ | |
| [`graphqlIntegration`](./graphql) | | | ✓ | |
| [`localVariablesIntegration`](./localvariables) | | ✓ | | |
| [`mongoIntegration`](./mongo) | | | ✓ | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
| [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | |
| [`dedupeIntegration`](./dedupe) | ✓ | ✓ | | |
| [`functionToStringIntegration`](./functiontostring) | ✓ | | | |
| [`genericPoolIntegration`](./genericpool) | ✓ | | ✓ | |
| [`graphqlIntegration`](./graphql) | ✓ | | ✓ | |
| [`httpIntegration`](./http) | ✓ | ✓ | ✓ | ✓ |
| [`inboundFiltersIntegration`](./inboundfilters) | ✓ | ✓ | | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
| [`consoleIntegration`](./console) | ✓ | | | ✓ |
| [`dedupeIntegration`](./dedupe) | ✓ | ✓ | | |
| [`functionToStringIntegration`](./functiontostring) | ✓ | | | |
| [`genericPoolIntegration`](./genericpool) | ✓ | | ✓ | |
| [`graphqlIntegration`](./graphql) | ✓ | | ✓ | |
| [`httpIntegration`](./http) | ✓ | ✓ | ✓ | ✓ |
| [`inboundFiltersIntegration`](./inboundfilters) | ✓ | ✓ | | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
| [`captureConsoleIntegration`](./captureconsole) | | | | ✓ |
| [`debugIntegration`](./debug) | | | | |
| [`extraErrorDataIntegration`](./extraerrordata) | | | | ✓ |
| [`genericPoolIntegration`](./genericpool) | | | ✓ | |
| [`graphqlIntegration`](./graphql) | | | ✓ | |
| [`localVariablesIntegration`](./localvariables) | | ✓ | | |
| [`mongoIntegration`](./mongo) | | | ✓ | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
| [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | |
| [`dedupeIntegration`](./dedupe) | ✓ | ✓ | | |
| [`functionToStringIntegration`](./functiontostring) | ✓ | | | |
| [`genericPoolIntegration`](./genericpool) | ✓ | | ✓ | |
| [`graphqlIntegration`](./graphql) | ✓ | | ✓ | |
| [`httpIntegration`](./http) | ✓ | ✓ | ✓ | ✓ |
| [`inboundFiltersIntegration`](./inboundfilters) | ✓ | ✓ | | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Depending on whether an integration enhances the functionality of a particular r
| [`consoleIntegration`](./console) | ✓ | | | ✓ |
| [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | |
| [`httpIntegration`](./http) | ✓ | ✓ | ✓ | ✓ |
| [`genericPoolIntegration`](./genericpool) | ✓ | | ✓ | |
| [`graphqlIntegration`](./graphql) | ✓ | | ✓ | |
| [`modulesIntegration`](./modules) | ✓ | | | ✓ |
| [`mongoIntegration`](./mongo) | ✓ | | ✓ | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
| [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | |
| [`dedupeIntegration`](./dedupe) | ✓ | ✓ | | |
| [`functionToStringIntegration`](./functiontostring) | ✓ | | | |
| [`genericPoolIntegration`](./genericpool) | ✓ | | ✓ | |
| [`graphqlIntegration`](./graphql) | ✓ | | ✓ | |
| [`httpIntegration`](./http) | ✓ | ✓ | ✓ | ✓ |
| [`inboundFiltersIntegration`](./inboundfilters) | ✓ | ✓ | | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Depending on whether an integration enhances the functionality of a particular r
| [`consoleIntegration`](./console) | ✓ | | | ✓ |
| [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | |
| [`httpIntegration`](./http) | ✓ | ✓ | ✓ | ✓ |
| [`genericPoolIntegration`](./genericpool) | ✓ | | ✓ | |
| [`graphqlIntegration`](./graphql) | ✓ | | ✓ | |
| [`modulesIntegration`](./modules) | ✓ | | | ✓ |
| [`mongoIntegration`](./mongo) | ✓ | | ✓ | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Depending on whether an integration enhances the functionality of a particular r
| [`consoleIntegration`](./console) | ✓ | | | ✓ |
| [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | |
| [`httpIntegration`](./http) | ✓ | ✓ | ✓ | ✓ |
| [`genericPoolIntegration`](./genericpool) | ✓ | | ✓ | |
| [`graphqlIntegration`](./graphql) | ✓ | | ✓ | |
| [`modulesIntegration`](./modules) | ✓ | | | ✓ |
| [`mongoIntegration`](./mongo) | ✓ | | ✓ | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Depending on whether an integration enhances the functionality of a particular r
| [`consoleIntegration`](./console) | ✓ | | | ✓ |
| [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | |
| [`httpIntegration`](./http) | ✓ | ✓ | ✓ | ✓ |
| [`genericPoolIntegration`](./genericpool) | ✓ | | ✓ | |
| [`graphqlIntegration`](./graphql) | ✓ | | ✓ | |
| [`modulesIntegration`](./modules) | ✓ | | | ✓ |
| [`mongoIntegration`](./mongo) | ✓ | | ✓ | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Depending on whether an integration enhances the functionality of a particular r
| [`consoleIntegration`](./console) | ✓ | | | ✓ |
| [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | |
| [`httpIntegration`](./http) | ✓ | ✓ | ✓ | ✓ |
| [`genericPoolIntegration`](./genericpool) | ✓ | | ✓ | |
| [`graphqlIntegration`](./graphql) | ✓ | | ✓ | |
| [`modulesIntegration`](./modules) | ✓ | | | ✓ |
| [`mongoIntegration`](./mongo) | ✓ | | ✓ | |
Expand Down
Loading