Skip to content

Commit 3415ceb

Browse files
feat(js): Add docs for generic pool integration (#11305)
Co-authored-by: vivianyentran <20403606+vivianyentran@users.noreply.github.com>
1 parent 1ddf1fc commit 3415ceb

File tree

13 files changed

+50
-0
lines changed

13 files changed

+50
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Generic Pool
3+
description: "Adds instrumentation for Generic Pool. (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+
- javascript.bun
22+
---
23+
24+
<Alert level="info">
25+
26+
This integration only works in the Node.js and Bun runtimes. Requires SDK version `8.29.0` or higher.
27+
28+
</Alert>
29+
30+
_Import name: `Sentry.genericPoolIntegration`_
31+
32+
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).
33+
34+
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).
35+
36+
## Supported Versions
37+
38+
- `generic-pool`: `>=2.0.0 <4`

platform-includes/configuration/integrations/javascript.astro.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Depending on whether an integration enhances the functionality of a particular r
4444
| [`consoleIntegration`](./console) || | ||
4545
| [`contextLinesIntegration`](./contextlines) ||| | |
4646
| [`httpIntegration`](./http) |||||
47+
| [`genericPoolIntegration`](./genericpool) || || |
4748
| [`graphqlIntegration`](./graphql) || || |
4849
| [`modulesIntegration`](./modules) || | ||
4950
| [`mongoIntegration`](./mongo) || || |

platform-includes/configuration/integrations/javascript.aws-lambda.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
| [`captureConsoleIntegration`](./captureconsole) | | | ||
2121
| [`debugIntegration`](./debug) | | | | |
2222
| [`extraErrorDataIntegration`](./extraerrordata) | | | ||
23+
| [`genericPoolIntegration`](./genericpool) | | || |
2324
| [`graphqlIntegration`](./graphql) | | || |
2425
| [`localVariablesIntegration`](./localvariables) | || | |
2526
| [`mongoIntegration`](./mongo) | | || |

platform-includes/configuration/integrations/javascript.bun.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
| [`contextLinesIntegration`](./contextlines) ||| | |
88
| [`dedupeIntegration`](./dedupe) ||| | |
99
| [`functionToStringIntegration`](./functiontostring) || | | |
10+
| [`genericPoolIntegration`](./genericpool) || || |
1011
| [`graphqlIntegration`](./graphql) || || |
1112
| [`httpIntegration`](./http) |||||
1213
| [`inboundFiltersIntegration`](./inboundfilters) ||| | |

platform-includes/configuration/integrations/javascript.fastify.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
| [`consoleIntegration`](./console) || | ||
66
| [`dedupeIntegration`](./dedupe) ||| | |
77
| [`functionToStringIntegration`](./functiontostring) || | | |
8+
| [`genericPoolIntegration`](./genericpool) || || |
89
| [`graphqlIntegration`](./graphql) || || |
910
| [`httpIntegration`](./http) |||||
1011
| [`inboundFiltersIntegration`](./inboundfilters) ||| | |

platform-includes/configuration/integrations/javascript.gcp-functions.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
| [`captureConsoleIntegration`](./captureconsole) | | | ||
2121
| [`debugIntegration`](./debug) | | | | |
2222
| [`extraErrorDataIntegration`](./extraerrordata) | | | ||
23+
| [`genericPoolIntegration`](./genericpool) | | || |
2324
| [`graphqlIntegration`](./graphql) | | || |
2425
| [`localVariablesIntegration`](./localvariables) | || | |
2526
| [`mongoIntegration`](./mongo) | | || |

platform-includes/configuration/integrations/javascript.nestjs.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
| [`contextLinesIntegration`](./contextlines) ||| | |
77
| [`dedupeIntegration`](./dedupe) ||| | |
88
| [`functionToStringIntegration`](./functiontostring) || | | |
9+
| [`genericPoolIntegration`](./genericpool) || || |
910
| [`graphqlIntegration`](./graphql) || || |
1011
| [`httpIntegration`](./http) |||||
1112
| [`inboundFiltersIntegration`](./inboundfilters) ||| | |

platform-includes/configuration/integrations/javascript.nextjs.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Depending on whether an integration enhances the functionality of a particular r
5151
| [`consoleIntegration`](./console) || | ||
5252
| [`contextLinesIntegration`](./contextlines) ||| | |
5353
| [`httpIntegration`](./http) |||||
54+
| [`genericPoolIntegration`](./genericpool) || || |
5455
| [`graphqlIntegration`](./graphql) || || |
5556
| [`modulesIntegration`](./modules) || | ||
5657
| [`mongoIntegration`](./mongo) || || |

platform-includes/configuration/integrations/javascript.node.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
| [`contextLinesIntegration`](./contextlines) ||| | |
77
| [`dedupeIntegration`](./dedupe) ||| | |
88
| [`functionToStringIntegration`](./functiontostring) || | | |
9+
| [`genericPoolIntegration`](./genericpool) || || |
910
| [`graphqlIntegration`](./graphql) || || |
1011
| [`httpIntegration`](./http) |||||
1112
| [`inboundFiltersIntegration`](./inboundfilters) ||| | |

platform-includes/configuration/integrations/javascript.nuxt.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Depending on whether an integration enhances the functionality of a particular r
4444
| [`consoleIntegration`](./console) || | ||
4545
| [`contextLinesIntegration`](./contextlines) ||| | |
4646
| [`httpIntegration`](./http) |||||
47+
| [`genericPoolIntegration`](./genericpool) || || |
4748
| [`graphqlIntegration`](./graphql) || || |
4849
| [`modulesIntegration`](./modules) || | ||
4950
| [`mongoIntegration`](./mongo) || || |

platform-includes/configuration/integrations/javascript.remix.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Depending on whether an integration enhances the functionality of a particular r
4444
| [`consoleIntegration`](./console) || | ||
4545
| [`contextLinesIntegration`](./contextlines) ||| | |
4646
| [`httpIntegration`](./http) |||||
47+
| [`genericPoolIntegration`](./genericpool) || || |
4748
| [`graphqlIntegration`](./graphql) || || |
4849
| [`modulesIntegration`](./modules) || | ||
4950
| [`mongoIntegration`](./mongo) || || |

platform-includes/configuration/integrations/javascript.solidstart.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Depending on whether an integration enhances the functionality of a particular r
4444
| [`consoleIntegration`](./console) || | ||
4545
| [`contextLinesIntegration`](./contextlines) ||| | |
4646
| [`httpIntegration`](./http) |||||
47+
| [`genericPoolIntegration`](./genericpool) || || |
4748
| [`graphqlIntegration`](./graphql) || || |
4849
| [`modulesIntegration`](./modules) || | ||
4950
| [`mongoIntegration`](./mongo) || || |

platform-includes/configuration/integrations/javascript.sveltekit.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Depending on whether an integration enhances the functionality of a particular r
4444
| [`consoleIntegration`](./console) || | ||
4545
| [`contextLinesIntegration`](./contextlines) ||| | |
4646
| [`httpIntegration`](./http) |||||
47+
| [`genericPoolIntegration`](./genericpool) || || |
4748
| [`graphqlIntegration`](./graphql) || || |
4849
| [`modulesIntegration`](./modules) || | ||
4950
| [`mongoIntegration`](./mongo) || || |

0 commit comments

Comments
 (0)