Title: [Profiling] Add Continuous Profiling mode · Issue #12330 · getsentry/sentry-javascript · GitHub
Open Graph Title: [Profiling] Add Continuous Profiling mode · Issue #12330 · getsentry/sentry-javascript
X Title: [Profiling] Add Continuous Profiling mode · Issue #12330 · getsentry/sentry-javascript
Description: Problem Statement We want to decouple profiles from the current transaction model and expose a way for users to profile code that is longer than 30s (current max profile duration ) Solution Brainstorm Introduce a continuous profiling mod...
Open Graph Description: Problem Statement We want to decouple profiles from the current transaction model and expose a way for users to profile code that is longer than 30s (current max profile duration ) Solution Brainst...
X Description: Problem Statement We want to decouple profiles from the current transaction model and expose a way for users to profile code that is longer than 30s (current max profile duration ) Solution Brainst...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/12330
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Profiling] Add Continuous Profiling mode","articleBody":"### Problem Statement\n\nWe want to decouple profiles from the current transaction model and expose a way for users to profile code that is longer than 30s (current max profile duration )\n\n### Solution Brainstorm\n\nIntroduce a continuous profiling mode. \n\nThe continuous profiling mode is exclusive from the current profiling mode. We want to allow developers to start and stop the profiler as they please, yielding full control over what is profiled. The current API design docs are [here](https://www.notion.so/sentry/Continuous-Profiling-SDK-design-86441dc859564a2abd9e0804f3c5deed) and have not been finalized.\n\n- [x] Implement continuous profiling mode functionality without exposing it (https://github.com/getsentry/sentry-javascript/pull/12124)\n- [ ] Implement profile context on spans (tbd if via startSpan or some global context)\n- [ ] Standardize on the API and mode selection mechanism\n- [ ] Document and expose the API \n - [x] Clarify self hosted support https://github.com/getsentry/sentry-javascript/pull/12124#discussion_r1625181977\n\nAn implementation details of the continuous profiling mode is that each span that is started during a profiling session has a profile context that includes the thread id, name and the profiler id that was currently active (we need this so we can stitch back the profile chunks back together.\n\nFwiw, the product is currently not handling this yet as we do not have a way to visualize continuous profiles yet. The plan is to implement the functionality and keep it hidden while we work on the in-product support for this.","author":{"url":"https://github.com/JonasBa","@type":"Person","name":"JonasBa"},"datePublished":"2024-06-03T15:02:47Z","url":"https://github.com/getsentry/sentry-javascript/issues/12330"}
| 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:eb098872-6b48-f4f5-a7b4-d8d3ec12425f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BD0:1C0F0F:298C3C6:36087A7:6B040D48 |
| html-safe-nonce | 28312e4f17593d82a0c29f18d995cb965e0e47a54a993fc5419e6df72c28c55d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkQwOjFDMEYwRjoyOThDM0M2OjM2MDg3QTc6NkIwNDBENDgiLCJ2aXNpdG9yX2lkIjoiMjc1MDA1ODg1MTIzMDU1MTM2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d9b67fb632bd02b4800a975f419dd1d6fd3dc17f8c95df3052b0e077a8738eee |
| hovercard-subject-tag | issue:2331394279 |
| 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/12330/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9515f32cf88439337830d6c15a0f0cac2bb5f3b84e482a1c082f749845b5c9af/getsentry/sentry-javascript/issues/12330 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9515f32cf88439337830d6c15a0f0cac2bb5f3b84e482a1c082f749845b5c9af/getsentry/sentry-javascript/issues/12330 |
| og:image:alt | Problem Statement We want to decouple profiles from the current transaction model and expose a way for users to profile code that is longer than 30s (current max profile duration ) Solution Brainst... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JonasBa |
| 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