Title: JS SDK Simplified Performance API · Issue #8724 · getsentry/sentry-javascript · GitHub
Open Graph Title: JS SDK Simplified Performance API · Issue #8724 · getsentry/sentry-javascript
X Title: JS SDK Simplified Performance API · Issue #8724 · getsentry/sentry-javascript
Description: ref getsentry/team-sdks#3 See our project board to track this initiative across all SDKs 👩💻 User Stories As a developer, I want the SDK to offer an easy-to-use API to manually instrument code paths and propagate context where manual ins...
Open Graph Description: ref getsentry/team-sdks#3 See our project board to track this initiative across all SDKs 👩💻 User Stories As a developer, I want the SDK to offer an easy-to-use API to manually instrument code path...
X Description: ref getsentry/team-sdks#3 See our project board to track this initiative across all SDKs 👩💻 User Stories As a developer, I want the SDK to offer an easy-to-use API to manually instrument code path...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/8724
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JS SDK Simplified Performance API","articleBody":"ref https://github.com/getsentry/team-sdks/issues/3\r\n\r\nSee our [project board](https://github.com/orgs/getsentry/projects/126/views/1) to track this initiative across all SDKs\r\n\r\n### 👩💻 User Stories\r\n\r\n- As a developer, I want the SDK to offer an easy-to-use API to manually instrument code paths and propagate context where manual instrumentation is impossible, to avoid observability gaps.\r\n- As Sentry, we want to make this switch without requiring changes to downstream services.\r\n\r\n## RFC\r\n\r\nhttps://github.com/getsentry/rfcs/blob/main/text/0101-revamping-the-sdk-performance-api.md\r\n\r\n```[tasklist]\n### Tasks\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8725\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8791\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8803\n- [ ] https://github.com/getsentry/sentry-docs/pull/7707\n```\r\n\r\n### Explanation of Process\r\n\r\n1. Add `span.setName` method (`span.name` is alias for `span.description`, `description` should still be serialized and sent with the span payload for now).\r\n2. Follow the RFC and add top level span creation methods (we recommend `Sentry.startActiveSpan` and `Sentry.startSpan`). SDK authors can also add their own methods as appropriate for their SDK, the key is having top level methods that create spans. These span creator methods should require `name` as a required key in the span context passed in. The important requirement of all span creator methods is that they only reference and operate on spans.\r\n3. Add top level method for `Sentry.setMeasurement`\r\n4. Update performance docs to use new APIs.","author":{"url":"https://github.com/AbhiPrasad","@type":"Person","name":"AbhiPrasad"},"datePublished":"2023-08-02T23:37:48Z","url":"https://github.com/getsentry/sentry-javascript/issues/8724"}
| 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:620a8beb-3721-3792-cba4-87aa3482a1d2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0E6:2AEBC7:603BD9:8771F1:6B0449CC |
| html-safe-nonce | 9915e88c9a726e13298c93a8756d0783e9fc8e548dd7c0ad7de5bca06f7418a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEU2OjJBRUJDNzo2MDNCRDk6ODc3MUYxOjZCMDQ0OUNDIiwidmlzaXRvcl9pZCI6IjQyMjUzMDEzNjA1OTEyNjAxMDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3d8741420189df601e9336f5d22922850b434016f20a07fe8adc561fcb8440a7 |
| hovercard-subject-tag | issue:1834027148 |
| 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/8724/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ae8be95680240bea21115d582998dd985fb6477e2ea6d713d0ce4ba577723d53/getsentry/sentry-javascript/issues/8724 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ae8be95680240bea21115d582998dd985fb6477e2ea6d713d0ce4ba577723d53/getsentry/sentry-javascript/issues/8724 |
| og:image:alt | ref getsentry/team-sdks#3 See our project board to track this initiative across all SDKs 👩💻 User Stories As a developer, I want the SDK to offer an easy-to-use API to manually instrument code path... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhiPrasad |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| 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 | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| 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