We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa97ebe commit 287e92fCopy full SHA for 287e92f
src/platforms/node/guides/express/index.mdx
@@ -165,7 +165,12 @@ Sentry.init({
165
// enable HTTP calls tracing
166
new Sentry.Integrations.Http({ tracing: true }),
167
// enable Express.js middleware tracing
168
- new Tracing.Integrations.Express({ app }),
+ new Tracing.Integrations.Express({
169
+ // to trace all requests to the default router
170
+ app,
171
+ // alternatively, you can specify the routes you want to trace:
172
+ // router: someRouter,
173
+ }),
174
],
175
176
// We recommend adjusting this value in production, or using tracesSampler
0 commit comments