Title: Child span/transaction name replaced by Lambda function name · Issue #13391 · getsentry/sentry-javascript · GitHub
Open Graph Title: Child span/transaction name replaced by Lambda function name · Issue #13391 · getsentry/sentry-javascript
X Title: Child span/transaction name replaced by Lambda function name · Issue #13391 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/13391
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Child span/transaction name replaced by Lambda function name","articleBody":"### Is there an existing issue for this?\n\n- [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [x] I have reviewed the documentation https://docs.sentry.io/\n- [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which SDK are you using?\n\n@sentry/aws-serverless\n\n### SDK Version\n\n8.26.0\n\n### Framework Version\n\n_No response_\n\n### Link to Sentry event\n\nhttps://mstuercke.sentry.io/performance/trace/7b533ed86b30290955b43e8b10513c5d/?node=txn-0e0841f1cf3b40a581c8cb50bc1736a9&node=txn-8b8c36aab7304b0e94d50cd767c1a2eb&pageEnd&pageStart&project=4507512062017616&source=traces&statsPeriod=5m×tamp=1723726598.892\n\n### Reproduction Example/SDK Setup\n\n\n```typescript\nSentry.init({\n dsn: '\u003cDSN>',\n tracesSampleRate: 1.0,\n environment: 'dev',\n})\n\nexport const lambdaHandler = Sentry.wrapHandler(() => {\n return Sentry.startSpan({op: `foo-op`, name: 'foo-name', forceTransaction: true}, () => {\n // ...\n })\n})\n```\n\n### Steps to Reproduce\n\nJust execute the code\n\n**Additional information:**\nThe renaming happens here:\nhttps://github.com/getsentry/sentry-javascript/blob/5c08d03dbe6c298ed94b847253c6674f2a3f3855/packages/aws-serverless/src/sdk.ts#L219-L226\n\n### Expected Result\n\nThe span should keep the name `foo-name`\n\n### Actual Result\n\nThe span `name` is replaced with the name of the lambda function. The `op` is untouched.","author":{"url":"https://github.com/mstuercke","@type":"Person","name":"mstuercke"},"datePublished":"2024-08-15T13:12:54Z","url":"https://github.com/getsentry/sentry-javascript/issues/13391"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:27471ab6-08c5-dad6-28ac-fae959dd885f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBAA:1525E:3B16ED:534EB4:6B040EF0 |
| html-safe-nonce | 0ce41df020c16f92d13886f6931888a852f471e375a6f5c234ba345d7442ef5b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkFBOjE1MjVFOjNCMTZFRDo1MzRFQjQ6NkIwNDBFRjAiLCJ2aXNpdG9yX2lkIjoiODU4MTA3NDg3OTQyMjY2NDQzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6fbb59dd4cfe1445d395aa33ffc6d944ef6f4ec2620880fd1869dcb07416ea1f |
| hovercard-subject-tag | issue:2468030202 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/13391/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cd169ea6777c49032c39fcf6a59517f8fd426cf8d83d25944d28ee4c4b350ddc/getsentry/sentry-javascript/issues/13391 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cd169ea6777c49032c39fcf6a59517f8fd426cf8d83d25944d28ee4c4b350ddc/getsentry/sentry-javascript/issues/13391 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mstuercke |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width