Repository navigation
Conversation
Replace the custom `tanstackstart.function.filename` attribute with the standard `code.file.path` and drop `tanstackstart.function.id`, which is a build-time hash without a convention. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit e796b7a. Configure here.
size-limit report 📦Compared: d64f102 (PR test merge using feat/tanstackstart-serverfn-span-in-middleware at b4cf9bb) Against: d586a5d (feat/tanstackstart-serverfn-span-in-middleware) · base run #66409
|
Optional E2E testsAll optional checks were successful. 3 successful. See the run. Successful checks
|
What
Server function spans now set
code.file.pathinstead oftanstackstart.function.filename. Thetanstackstart.function.idattribute is removed.Why
Neither attribute is in
@sentry/conventions. The file name has a standard attribute, and the span already usescode.function.name. The id is a hash that Start generates at build time, so it is not useful for querying. Doing this before the SDK is marked stable avoids renaming attributes later.