Title: Request for Hydrogen + Sentry demo repo with best-in-class instrumentation/context · Issue #9055 · getsentry/sentry-javascript · GitHub
Open Graph Title: Request for Hydrogen + Sentry demo repo with best-in-class instrumentation/context · Issue #9055 · getsentry/sentry-javascript
X Title: Request for Hydrogen + Sentry demo repo with best-in-class instrumentation/context · Issue #9055 · getsentry/sentry-javascript
Description: Problem Statement Currently we do not have a Hydrogen + Sentry demo repo with best-in-class instrumentation/context. Solution Brainstorm Overview: The request is to create a demo instance using Hydrogen, Shopify's React-based headless to...
Open Graph Description: Problem Statement Currently we do not have a Hydrogen + Sentry demo repo with best-in-class instrumentation/context. Solution Brainstorm Overview: The request is to create a demo instance using Hyd...
X Description: Problem Statement Currently we do not have a Hydrogen + Sentry demo repo with best-in-class instrumentation/context. Solution Brainstorm Overview: The request is to create a demo instance using Hyd...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/9055
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Request for Hydrogen + Sentry demo repo with best-in-class instrumentation/context","articleBody":"### Problem Statement\r\n\r\nCurrently we do not have a Hydrogen + Sentry demo repo with best-in-class instrumentation/context.\r\n\r\n### Solution Brainstorm\r\n\r\n**Overview:**\r\nThe request is to create a demo instance using [Hydrogen](https://github.com/Shopify/hydrogen), Shopify's React-based headless toolkit built on Remix. \r\nThe demo instance should have Sentry's [Remix SDK](https://docs.sentry.io/platforms/javascript/guides/remix/) instrumented.\r\nUsing the instance developers should be able to understand how to be successfully set up Sentry for a Hydrogen app.\r\n\r\n**Sentry Features that should be included:** \r\n- [Tags](https://docs.sentry.io/platforms/javascript/guides/remix/enriching-events/tags/): Demonstrating how to attach tags to events for better searching and visualization.\r\n- [Breadcrumbs](https://docs.sentry.io/platforms/javascript/guides/remix/enriching-events/breadcrumbs/): Showcasing how to create and utilize breadcrumbs for improved debugging.\r\n- [Hydrogen specific context](https://docs.sentry.io/platforms/javascript/guides/remix/enriching-events/): Showcasing how to capture Hydrogen specific context within Sentry.\r\n- [Source Maps](https://docs.sentry.io/platforms/javascript/guides/remix/sourcemaps/): Uploading source maps to a Sentry instance for a readable stack trace.\r\n- [Distributed Tracing](https://docs.sentry.io/platforms/javascript/guides/remix/usage/distributed-tracing/): Setting up distributed tracing to track transactions across services.\r\n- [Releases](https://docs.sentry.io/platforms/javascript/guides/remix/configuration/releases/): Configuring releases to associate issues with specific code releases.\r\n- [Performance](https://docs.sentry.io/platforms/javascript/guides/remix/performance/instrumentation/automatic-instrumentation/): Registering transactions with regards to page loads and navigations along with Web Vital specific metrics.\r\n- [Profiling](https://docs.sentry.io/platforms/javascript/guides/remix/profiling/): Registering profiles to identify bottlenecks and optimize code. \r\n- [Session Replay](https://docs.sentry.io/platforms/javascript/guides/remix/session-replay/): Replays of user sessions to visually understand the context in which errors occur. \r\n\r\n**Expected Outcome:**\r\nWe expect that the demo instance will provide developers with a clear understanding of how to integrate Sentry effectively with Hydrogen, showcasing best practices and demonstrating how to harness the full power of Sentry for error tracking and performance monitoring.\r\n\r\n**Additional Context:**\r\nHydrogen is based on Remix v2 which is supported by Sentry ([GitHub PR](https://github.com/getsentry/sentry-javascript/pull/8940))\r\n\r\n### Tasks\r\n\r\n\r\n```[tasklist]\n### Tasks\n- [x] Create sample hydrogen v2 app (uses Remix under the hood)\n- [x] Add Sentry Remix SDK to Hydrogen v2 demo app\n- [x] Get sourcemaps uploading working\n- [x] Get releases working for backend/frontend\n- [x] Add Session Replay\n- [x] Add Browser Profiling\n- [ ] Add Node.js Profiling\n- [ ] [Investigation] Add hydrogen specific context and information\n- [ ] Create pages to show off error monitoring\n- [ ] Create pages to show off setting custom tags\n- [ ] Create pages to show off performance monitoring\n- [ ] Instrument GraphQL\n```","author":{"url":"https://github.com/Prithvirajkumar","@type":"Person","name":"Prithvirajkumar"},"datePublished":"2023-09-19T20:00:01Z","url":"https://github.com/getsentry/sentry-javascript/issues/9055"}
| 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:9888c200-e1e1-90bd-ad01-ee1cec6e5ee4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8802:BBCAB:36658:495F6:6B04DD94 |
| html-safe-nonce | 9786f89dc4e8d3cce7b8036c3568a6c8a6fa7bdb35f248329fdd8fe3b3f89a56 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODAyOkJCQ0FCOjM2NjU4OjQ5NUY2OjZCMDRERDk0IiwidmlzaXRvcl9pZCI6IjQxMjE0NzQzODMwOTExMjk3NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5f8f7820b66d169bf92655ba86d3d3e00970a5add2d484960ce8a0a241611d8a |
| hovercard-subject-tag | issue:1903645842 |
| 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/9055/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6b938521ecac487100a1aeaee0e02a2a27402cb977ea5b6aaa17c14abeecb9fd/getsentry/sentry-javascript/issues/9055 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6b938521ecac487100a1aeaee0e02a2a27402cb977ea5b6aaa17c14abeecb9fd/getsentry/sentry-javascript/issues/9055 |
| og:image:alt | Problem Statement Currently we do not have a Hydrogen + Sentry demo repo with best-in-class instrumentation/context. Solution Brainstorm Overview: The request is to create a demo instance using Hyd... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Prithvirajkumar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 194dacb8acfd3e4d3ffb2704e0b1f10327f0dad690a7142acc7b0e0a2d073965 |
| 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 | 6c35540a0a2991ee20bd053ba2601cce33f72cb1 |
| 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