Sentry integration hot tips anyone?
Trying to integrate sentry properly into tanstack start apps.. Can get it to pick up some errors using sentry/react pkg, however using default error boundaries kinda stops the errors properly propagating to sentry, and there is no clear way to gen sourcemaps. Did add the sentry vite plugin, but looks like the sourcemap IDs aren't matching? Any pointers would be great ๐
9 Replies
like-goldโข8mo ago
Also interested in this
fair-roseโข8mo ago
I am also curious how to implement sentry into tanstack start with both client and server integrations.
Is there a plan to have dedicated package for that?
yappiest-sapphireโข8mo ago
cc @TkDodo ๐ฎ
flat-fuchsiaโข8mo ago
Let me forward this to the sdk team ๐
probable-pinkโข8mo ago
https://github.com/getsentry/sentry-javascript/issues/14990
We're definitely wanting a dedicated SDK at some point, and router support was one of the steps on the way. If you drop info on the GH issue it can help us prio the work and identify gaps
๐
GitHub
TanStack Start SDK ยท Issue #14990 ยท getsentry/sentry-javascript
Description We already have a router instrumentation for TanStack Router, but we also want to add a proper e.g. @sentry/tanstack SDK. Add a guide in docs about manually setting this up Add to in-pr...
other-emeraldโข8mo ago
Maybe everyone interested in Sentry for Start can upvote that issue?
fair-roseโข8mo ago
Thanks! Meanwhile, what are you guys using for tracking error on server? Any alternative to sentry already working today?
adverse-sapphireโข7mo ago
I have the same question as @dominikjasek
flat-fuchsiaโข7mo ago
I can't get the Vite plugin to work with the sourcemaps, I get a lot of: