-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
reactRouterTracingIntegration() is not a function #16363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @gu-stav thanks for reaching out! So the page you are referring to is talking about client-side tracing, not the server. To summarize how to set up tracing in react-router:
I'll update the docs page to make this more clear, sorry for the confusion here! |
@chargome Got, it thank you! Sorry for the confusion, but getting tracing setup was a very frustrating story for us. In case you need input on the docs, feel free to ping me anytime. Thank you! |
I'm sorry this was the case! Were there any other hiccups than the confusion between client/server setup? |
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react-router
SDK Version
9.22.0
Framework Version
7
Link to Sentry event
No response
Reproduction Example/SDK Setup
To setup tracing with react-router@7 the docs suggest to use https://docs.sentry.io/platforms/javascript/guides/react-router/tracing/ server-side (and
browserTracingIntegration()
client-side).I can see types being exported, but no function:
Steps to Reproduce
Expected Result
I expect to be able to call
Sentry.reactRouterTracingIntegration()
or an equivalent.Actual Result
The function can not be called, because it is not exported.
The text was updated successfully, but these errors were encountered: