-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Core or SDK?
Platform/SDK
Which part? Which one?
Node.js
Description
Opening this issue as feedback from a trialing customer:
https://docs.sentry.io/platforms/javascript/guides/node/enriching-events/transaction-name/
In that transaction name article it mentions using setTransactionName like so:
Sentry.getCurrentScope().setTransactionName("UserListView");But our engineer was getting undefined errors. Then they found the deprecations list and that function is included.
https://docs.sentry.io/platforms/javascript/guides/gatsby/migration/v7-to-v8/v7-deprecations/#deprecate-scopesettransactionname
So we weren't sure if this was just documentation needed an update or what but figured we would pass it along in case others ran into it
Suggested Solution
This code snippet should be updated to use a non-deprecated function from the v8 SDK
Metadata
Metadata
Assignees
Labels
Projects
Status