You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/platforms/node/common/performance/database.mdx
+19-4Lines changed: 19 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,27 +6,42 @@ Node.js integrations support tracking database queries as spans. Starting in ver
6
6
7
7
Supported packages and their integration name:
8
8
-`pg` (Postgres)
9
+
-`pg-native` (Postgres) _Available from version 6.12.0_
9
10
-`mongodb` (Mongo)
10
11
-`mongoose` (Mongo)
11
12
-`mysql` (MySQL)
12
13
13
14
### Disabling Automatic Instrumentation
14
15
15
-
You can also (remove an automatically-enabled integration)[integrations](/platforms/node/configuration/integrations/#removing-an-integration), if needed.
16
+
You can also [remove an automatically-enabled integration](/platforms/node/configuration/integrations/#removing-an-integration), if needed.
16
17
17
18
### Manually Adding Integrations
18
19
19
20
If you need to add a specific database integration manually (for example, when using multiple client instances), you can import them from the `@sentry/tracing` package under the `Integrations` namespace.
20
21
21
-
For example, to add MongoDB instrumentation to a custom client:
0 commit comments