diff --git a/src/platforms/node/guides/express/index.mdx b/src/platforms/node/guides/express/index.mdx index 89e69ef3e6c955..cfa6f601c73570 100644 --- a/src/platforms/node/guides/express/index.mdx +++ b/src/platforms/node/guides/express/index.mdx @@ -165,7 +165,12 @@ Sentry.init({ // enable HTTP calls tracing new Sentry.Integrations.Http({ tracing: true }), // enable Express.js middleware tracing - new Tracing.Integrations.Express({ app }), + new Tracing.Integrations.Express({ + // to trace all requests to the default router + app, + // alternatively, you can specify the routes you want to trace: + // router: someRouter, + }), ], // We recommend adjusting this value in production, or using tracesSampler