Title: Sentry Astro SDK · Issue #9182 · getsentry/sentry-javascript · GitHub
Open Graph Title: Sentry Astro SDK · Issue #9182 · getsentry/sentry-javascript
X Title: Sentry Astro SDK · Issue #9182 · getsentry/sentry-javascript
Description: Problem Statement We're going to build an SDK for Astro! This is necessary to make Spotlight work properly with Astro and it will make Sentry compatible to be used within Astro projects. Solution Brainstorm The details remain TBD as we w...
Open Graph Description: Problem Statement We're going to build an SDK for Astro! This is necessary to make Spotlight work properly with Astro and it will make Sentry compatible to be used within Astro projects. Solution B...
X Description: Problem Statement We're going to build an SDK for Astro! This is necessary to make Spotlight work properly with Astro and it will make Sentry compatible to be used within Astro projects. Soluti...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/9182
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sentry Astro SDK","articleBody":"### Problem Statement\r\n\r\nWe're going to build an SDK for Astro! This is necessary to make [Spotlight](https://github.com/getsentry/spotlight) work properly with Astro and it will make Sentry compatible to be used within Astro projects.\r\n\r\n\r\n### Solution Brainstorm\r\n\r\nThe details remain TBD as we work through things but here's a rough outline of the necessary tasks:\r\n\r\n```[tasklist]\r\n### Initial Tasks\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/9187\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/9218\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/9193\r\n- [x] Figure out necessary build settings\r\n- [x] Add support for `Sentry.init` config files for client and server\r\n- [x] Add Vite plugin for source map upload in the integration\r\n- [x] Make sure, package structure and content adheres to Astro Integration specification\r\n```\r\n\r\nAs for publishing, we will publish the SDK as alpha/beta first, leaving us a bit of headroom to change public API if necessary and eventually promote it to stable.\r\n\r\n```[tasklist]\r\n### Adding Astro as a Sentry Platform\r\n- [ ] https://github.com/getsentry/platformicons/pull/111\r\n- [ ] https://github.com/getsentry/sentry/pull/58158\r\n- [ ] https://github.com/getsentry/sentry/pull/58151\r\n- [ ] https://github.com/getsentry/sentry/pull/58156\r\n- [ ] https://github.com/getsentry/sentry-release-registry/pull/128\r\n- [ ] https://github.com/getsentry/sentry-docs/pull/8267\r\n- [ ] https://github.com/getsentry/sentry/pull/58435\r\n- [ ] https://github.com/getsentry/static-sites/pull/2005\r\n```\r\n\r\n### Stretch Goals / open ends\r\n\r\nIf we have time/feel it's necessary or nice to have for an SDK:\r\n* Add a setup wizard for Astro\r\n* Add other Astro-specific features\r\n* Do we need a routing instrumentation?\r\n* Support non-Node runtimes?\r\n\r\n### How to deal with other UI frameworks?\r\n\r\nGiven that Astro supports building UIs with a number of frontend frameworks (React, Svelte, Vue, etc), we might want to consider adding our respective UI framework SDKs to the project. However, I'd argue that this only makes sense in [islands](https://docs.astro.build/en/concepts/islands/#how-do-islands-work-in-astro). For them, we can direct users in docs to use the respective Sentry SDK to unlock framework-specifc features. For example, component tracking or error handlers/boundaries. (Great timing: We just decoupled SDK intialization and Vue-specific instrumentation in #9180)\r\n\r\n \r\n","author":{"url":"https://github.com/Lms24","@type":"Person","name":"Lms24"},"datePublished":"2023-10-05T14:48:45Z","url":"https://github.com/getsentry/sentry-javascript/issues/9182"}
| 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:b311a7bf-a770-b203-ded4-2e62cc2137f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE28:3F0100:45F18F:60EA25:6B049F72 |
| html-safe-nonce | dab7479490a423e97eab96688409bf4e9a34eab5a3dbcbb32a10311beb4aa270 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTI4OjNGMDEwMDo0NUYxOEY6NjBFQTI1OjZCMDQ5RjcyIiwidmlzaXRvcl9pZCI6IjQ0NjQyNjcyMDc3Mjc0MjMzNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cddc75a3bce539db9917a7a411f93c07864ec489848ec7fa37554a86547f4a68 |
| hovercard-subject-tag | issue:1928484396 |
| 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/9182/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ade407c7ef9a7b2e774b501427a147f6d3e522d68c927a5517001aba80582f11/getsentry/sentry-javascript/issues/9182 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ade407c7ef9a7b2e774b501427a147f6d3e522d68c927a5517001aba80582f11/getsentry/sentry-javascript/issues/9182 |
| og:image:alt | Problem Statement We're going to build an SDK for Astro! This is necessary to make Spotlight work properly with Astro and it will make Sentry compatible to be used within Astro projects. Solution B... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lms24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d |
| 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 | 3fd14143b75b2af7b76bbd23b069867d091adfcc |
| 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