Title: PrivateCpuProfilerBindings.startProfiling is not a function · Issue #14561 · getsentry/sentry-javascript · GitHub
Open Graph Title: PrivateCpuProfilerBindings.startProfiling is not a function · Issue #14561 · getsentry/sentry-javascript
X Title: PrivateCpuProfilerBindings.startProfiling is not a function · Issue #14561 · 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/14561
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PrivateCpuProfilerBindings.startProfiling is not a function","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\nSelf-hosted/on-premise\n\n### Which SDK are you using?\n\n@sentry/node\n\n### SDK Version\n\n8.41.0\n\n### Framework Version\n\n_No response_\n\n### Link to Sentry event\n\n_No response_\n\n### Reproduction Example/SDK Setup\n\nAWS Lambda Node 20\n\n```javascript\nSentry.init({\n dsn: SENTRY_DSN,\n environment: stage,\n integrations: [nodeProfilingIntegration()],\n release: 'not-defined',\n tracesSampleRate: 0.5,\n profilesSampleRate: 1.0,\n shutdownTimeout: 0.1,\n});\n```\n\n### Steps to Reproduce\n\n1. execute lambda\n2. wait for execution\n3. get error or expected result\n\n### Expected Result\n\nget a reproducible result.\n~ 4 out of 10 times the below described error gets thrown\n\n### Actual Result\n\nsometimes a `TypeError` is thrown, most times not\n```json\n{\n \"errorType\": \"TypeError\",\n \"errorMessage\": \"PrivateCpuProfilerBindings.startProfiling is not a function\",\n \"stack\": [\n \"TypeError: PrivateCpuProfilerBindings.startProfiling is not a function\",\n \" at Bindings.startProfiling (/var/task/index.js:67619:43)\",\n \" at maybeProfileSpan (/var/task/index.js:67944:27)\",\n \" at /var/task/index.js:67988:28\",\n \" at /var/task/index.js:5588:43\",\n \" at Array.forEach (\u003canonymous>)\",\n \" at NodeClient.emit (/var/task/index.js:5588:21)\",\n \" at /var/task/index.js:37635:41\",\n \" at /var/task/index.js:37661:82\",\n \" at _optionalChain$1 (/var/task/index.js:37635:19)\",\n \" at onSpanStart (/var/task/index.js:37661:7)\"\n ]\n}\n\n```","author":{"url":"https://github.com/jbreckel","@type":"Person","name":"jbreckel"},"datePublished":"2024-12-04T08:41:51Z","url":"https://github.com/getsentry/sentry-javascript/issues/14561"}
| 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:e239236f-e441-c4ba-4b2b-cf2336642ea7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFDC:2F6550:1529328:1BF0010:6B040CFF |
| html-safe-nonce | 30d521b00d7c2436e1d7e1b3afd995dd5e42534b808e62a976d5fe747c7a8f07 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkRDOjJGNjU1MDoxNTI5MzI4OjFCRjAwMTA6NkIwNDBDRkYiLCJ2aXNpdG9yX2lkIjoiMTk1Mzg2MDk1Njc5MzExMTA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a3ee8ab3ed06ee6c15dc30640b423ed8c73ebcb1021ad166032027744ac51687 |
| hovercard-subject-tag | issue:2716953658 |
| 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/14561/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9e55fd30cfbf799b961fe90cb85efbecc24186e9d62e90d42670b500a4a4ea4b/getsentry/sentry-javascript/issues/14561 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9e55fd30cfbf799b961fe90cb85efbecc24186e9d62e90d42670b500a4a4ea4b/getsentry/sentry-javascript/issues/14561 |
| 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 | jbreckel |
| 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