File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed
docs/platforms/javascript/common/configuration/integrations Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ The `amqplibIntegration` adds instrumentation for the `amqplib` library to captu
41
41
42
42
``` JavaScript
43
43
Sentry .init ({
44
- integrations: [new Sentry.amqplibIntegration ()],
44
+ integrations: [Sentry .amqplibIntegration ()],
45
45
});
46
46
```
47
47
Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ The `bunServerIntegration` instruments [`Bun.serve` API](https://bun.sh/docs/api
21
21
import * as Sentry from ' @sentry/bun' ;
22
22
23
23
Sentry .init ({
24
- integrations: [new Sentry.bunServerIntegration ()],
24
+ integrations: [Sentry .bunServerIntegration ()],
25
25
});
26
26
```
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ The `connectIntegration` adds instrumentation for the Hapi framework to capture
22
22
23
23
``` JavaScript
24
24
Sentry .init ({
25
- integrations: [new Sentry.connectIntegration ()],
25
+ integrations: [Sentry .connectIntegration ()],
26
26
});
27
27
```
28
28
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ The `fastifyIntegration` adds instrumentation for the Fastify framework to captu
22
22
23
23
``` JavaScript
24
24
Sentry .init ({
25
- integrations: [new Sentry.fastifyIntegration ()],
25
+ integrations: [Sentry .fastifyIntegration ()],
26
26
});
27
27
```
28
28
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ The `hapiIntegration` adds instrumentation for the Hapi framework to capture spa
22
22
23
23
``` JavaScript
24
24
Sentry .init ({
25
- integrations: [new Sentry.hapiIntegration ()],
25
+ integrations: [Sentry .hapiIntegration ()],
26
26
});
27
27
```
28
28
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ The `koaIntegration` adds instrumentation for the Koa framework to capture spans
22
22
23
23
``` JavaScript
24
24
Sentry .init ({
25
- integrations: [new Sentry.koaIntegration ()],
25
+ integrations: [Sentry .koaIntegration ()],
26
26
});
27
27
```
28
28
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ The `lruMemoizerIntegration` adds instrumentation for the `lru-memoizer` library
41
41
42
42
``` javascript
43
43
Sentry .init ({
44
- integrations: [new Sentry.lruMemoizerIntegration ()],
44
+ integrations: [Sentry .lruMemoizerIntegration ()],
45
45
});
46
46
```
47
47
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ The `tediousIntegration` adds instrumentation for the `tedious` library to captu
41
41
42
42
``` javascript
43
43
Sentry .init ({
44
- integrations: [new Sentry.tediousIntegration ()],
44
+ integrations: [Sentry .tediousIntegration ()],
45
45
});
46
46
```
47
47
You can’t perform that action at this time.
0 commit comments