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/instrumentation/automatic-instrumentation.mdx
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,11 @@ Read more about [Custom Instrumentation](./../custom-instrumentation/) to learn
15
15
16
16
<Note>
17
17
18
-
If you’re adopting Performance in a high-throughput environment, we recommend testing prior to deployment to ensure that your service’s performance characteristics maintain expectations.
18
+
If you're adopting Performance in a high-throughput environment, we recommend testing prior to deployment to ensure that your service's performance characteristics maintain expectations.
19
+
20
+
Note, that calling `Sentry.autoDiscoverNodePerformanceMonitoringIntegrations` will degrade startup performance of your app due to file I/O operations.
21
+
This is especially a concern in Serverless functions.
22
+
We recommend manually adding <PlatformLinkto="/performance/database" >database integrations</PlatformLink> of your choice manually (see example below).
19
23
20
24
</Note>
21
25
@@ -28,7 +32,11 @@ Sentry.init({
28
32
// enable HTTP calls tracing
29
33
newSentry.Integrations.Http({ tracing:true }),
30
34
// Automatically instrument Node.js libraries and frameworks
35
+
// (This function is slow because of file I/O, consider manually adding additional integrations instead)
0 commit comments