-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Request for Hydrogen + Sentry demo repo with best-in-class instrumentation/context #9055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@Prithvirajkumar where is this expected to live? Within https://github.com/sentry-demos/empower, or as a new repo? @onurtemizkan would be great if you could help with tackling this! Building out a demo app of some kind with all these features - good opportunity for us to play around with Hydrogen as well to see what it can do. |
Alright we can make it a new repo in |
@AbhiPrasad, sure I'm starting to work on this. |
I created https://github.com/getsentry/sentry-hydrogen-demo and sent an invite to you @onurtemizkan |
Please see #5610 (comment) - we have |
I'm confused on how this is complete? I am still not understanding how to integrate Sentry in to a Hydrogen/Oxygen app. |
Hi @AbhiPrasad could you please confirm that this demo: https://github.com/getsentry/sentry-hydrogen-demo (or update it ) is still valid and working? we've tried the remix sentry wizard but is not working with hydrogen thanks |
Also looking to understand how to integrate sentry into hydrogen/oxygen. @AbhiPrasad - can you please assist? |
Hey @AbhiPrasad! Hoping you might be able to follow up on this - can you confirm how we can integrate Sentry into Oxygen? |
Hey @petfriendlydev - I'll try to get something together to show this week! Sorry for the delay, just came back from vacation. |
Hi @AbhiPrasad! Checking in to see if we're on track to get something this week? Thank you! |
@AbhiPrasad hi again! follow up - can you help here? thank you! |
I would love an example of this. Tried to set this up myself, without great success. |
Trying one last time... @AbhiPrasad could you please circle back on how to integrate sentry into oxygen with more details? We remain unable to do so and are now assessing an alternative to sentry because of the roadblock here. Your help would be greatly appreciated. |
Assigning to myself so this doesn't get off track! We'll get this in this week for sure - sorry for the earlier delays. |
Here is an example repo: https://github.com/AbhiPrasad/sentry-shopify-hydrogen-example The README has some instructions. Screenshots: |
@AbhiPrasad Thanks for this. In this example you've listed two plugins, one for Remix one for Cloudflare. In the My question is, should this be:
Or
Or does that matter at all? Thanks! |
@AbhiPrasad I implemented everything in your example repo and I am now receiving:
I only get this upon deployment and it works locally without issue. |
Same here! I followed the example repository, but I’m encountering the same error during deployment: Deployment failed, error: Uncaught TypeError: withSentry is not a function It works locally without issues, but fails when deploying. @AbhiPrasad, any fixes for this? |
@sergio-nezhigay For what it's worth, we were never able to get past this and after months of trying just gave up and pivoted to a different solution. It doesn't appear that Sentry is willing to spend time getting this working. Best of luck. |
@AbhiPrasad I followed your repo as a guide and it all works in dev, but when I try to do a build & preview it fails. I thought I must have missed something so I cloned your repo and put in my SENTRY info. It doesn't work. I keep getting this error. |
We've done some work to improve potenial runtime errors, and we've published it to the official docs site: https://docs.sentry.io/platforms/javascript/guides/remix/frameworks/hydrogen/ please upgrade to the latest version of the remix SDK, and follow the guide above. This should work without errors. If you see any problems, please open a new issue so we can triage and follow accordingly. |
@AbhiPrasad Thank you so much! It's working for the most part. My only remaining issue is that the backend |
@marisajackson in your Effectively the |
🙏🏽 Thank you! It's all working now! |
Uh oh!
There was an error while loading. Please reload this page.
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 toolkit built on Remix.
The demo instance should have Sentry's Remix SDK instrumented.
Using the instance developers should be able to understand how to be successfully set up Sentry for a Hydrogen app.
Sentry Features that should be included:
Expected Outcome:
We 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.
Additional Context:
Hydrogen is based on Remix v2 which is supported by Sentry (GitHub PR)
Tasks
The text was updated successfully, but these errors were encountered: