Title: SvelteKit SDK Roadmap · Issue #6692 · getsentry/sentry-javascript · GitHub
Open Graph Title: SvelteKit SDK Roadmap · Issue #6692 · getsentry/sentry-javascript
X Title: SvelteKit SDK Roadmap · Issue #6692 · getsentry/sentry-javascript
Description: Discussed in #5838 Problem Statement There is already support for the Svelte JavaScript framework, and now that SvelteKit is also in a 1.0 stable release we should extend the support. See: https://svelte.dev/ SvelteKit: https://kit.svelt...
Open Graph Description: Discussed in #5838 Problem Statement There is already support for the Svelte JavaScript framework, and now that SvelteKit is also in a 1.0 stable release we should extend the support. See: https://...
X Description: Discussed in #5838 Problem Statement There is already support for the Svelte JavaScript framework, and now that SvelteKit is also in a 1.0 stable release we should extend the support. See: https://...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/6692
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SvelteKit SDK Roadmap","articleBody":"### Discussed in https://github.com/getsentry/sentry-javascript/discussions/5838\r\n\r\n### Problem Statement\r\n\r\nThere is already support for the Svelte JavaScript framework, and now that SvelteKit is also in a 1.0 stable release we should extend the support. \r\n\r\nSee: https://svelte.dev/\r\nSvelteKit: https://kit.svelte.dev/\r\n\r\nIf you are interested in this, please react to this issue and/or leave a comment below!\r\n\r\n### Solution Brainstorm\r\n\r\nAn SDK similar to what we have for NextJS, providing support for client- and server-side error and performance monitoring.\r\n\r\n### Initial Work\r\n\r\nInitially, we'll focus on these tasks to release the first version of the SvelteKit SDK. While this version will still require manual instrumentation, it should be enough to release and receive early feedback from the community.\r\n\r\nThe following high-level tasks will be extracted to separate issues each (if applicable) to track them individually on a more fine-grained level:\r\n\r\n```[tasklist]\r\n#### Initial Tasks\r\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7348\r\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7402\r\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7403\r\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7489\r\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7526\r\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7413\r\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7669\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/7881\r\n```\r\n\r\n**Goal:** Users can add and configure the SvelteKit SDK to their project and initialize the SDK for errors, performance and Replay. At this point, fully using the SDK will require manual wrapping of data fetchers and handlers. This SDK will work with the **Node** SvelteKit Adapter.\r\n\r\n### Advanced Features\r\n\r\nOnce we have a basic SDK, we start looking at more advanced features. These differ from stretch goal in the sense that they have immediate high value. For example: They make usage significantly easier or increase the supported platforms in which the SDK can be used. \r\n\r\n```[tasklist]\r\n- [ ] https://github.com/getsentry/sentry-wizard/issues/244\r\n- [ ] https://github.com/getsentry/sentry-javascript/issues/7940\r\n- [ ] https://github.com/getsentry/sentry-javascript/issues/8085\r\n- [ ] Support Vercel Edge runtime\r\n```\r\n\r\n**Goal:** Users no longer need to manually add Sentry wrappers to their data fetchers and handlers. Instead, this will be done automatically at build time. Additionally, users can use the SDK not just on Node servers but also on Vercel.\r\n\r\n### Stretch Goals\r\n\r\nIf we have enough resources and time, there are a couple of cool stretch goals to take a look at:\r\nWe will likely not be able to implement all of these features from the start. That's okay. We can extract them to separate issues or implement them by demand at a later time.\r\n\r\n```[tasklist]\r\n#### Stretch Goals\r\n- [x] Consider issue grouping rules for SvelteKit\r\n- [ ] Resolve source maps for errors in dev mode (analogously to NextJS)\r\n- [ ] Turn around trace-parent order in page load trace (i.e. client txn becomes parent of server txn)\r\n- [ ] Add `tunnelRoute` option (analogously to NextJS)\r\n- [ ] Store Navigation event (https://kit.svelte.dev/docs/types#public-types-navigationevent) in client side `handleError` call\r\n- [ ] Store Request event (https://kit.svelte.dev/docs/types#public-types-requestevent) in server side `handleError` call\r\n- [ ] Support more JS Runtimes/adapters (Cloudflare, Netlify)\r\n```\r\n\r\n**Goal:** The moon 🚀 \r\n\r\n### Dog-fooding opportunities:\r\n- JS SDK Bundle Size measurement app?\r\n\r\n┆Issue is synchronized with this [Jira Improvement](https://getsentry.atlassian.net/browse/FEEDBACK-1733) by [Unito](https://www.unito.io)\r\n","author":{"url":"https://github.com/smeubank","@type":"Person","name":"smeubank"},"datePublished":"2023-01-09T11:04:54Z","url":"https://github.com/getsentry/sentry-javascript/issues/6692"}
| 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:39934fa6-191b-8cc0-390f-52a70f255030 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BBC:51CB6:132D41E:193C41C:6B0406CE |
| html-safe-nonce | 302f8b2e0dec56ccd4130e5d0ea8a1495df12b9a3c7b29f9b1338ebfc242f713 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkJDOjUxQ0I2OjEzMkQ0MUU6MTkzQzQxQzo2QjA0MDZDRSIsInZpc2l0b3JfaWQiOiI3Mzc2NzE5NTgyMzczMDg2OTI3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2649e82c543aac074f6c03a07a039bfd86d570a3f2daf38df8a31c765fe8955d |
| hovercard-subject-tag | issue:1525363544 |
| 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/6692/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6050a200f055c9a6648742af76b1dde7b4ad325e8c1359e07a99ff48b1f85f8d/getsentry/sentry-javascript/issues/6692 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6050a200f055c9a6648742af76b1dde7b4ad325e8c1359e07a99ff48b1f85f8d/getsentry/sentry-javascript/issues/6692 |
| og:image:alt | Discussed in #5838 Problem Statement There is already support for the Svelte JavaScript framework, and now that SvelteKit is also in a 1.0 stable release we should extend the support. See: https://... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | smeubank |
| 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