-
Notifications
You must be signed in to change notification settings - Fork 18
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
Remix instrumentation with Vercel Examples #36
Comments
Any progress w/ this? |
@gnohj didn't have time to continue with it |
Also have been trying to get the basic example with |
Ok, I figured out that you need to use the instrumentation with The part I still haven't figured out is how to achieve the --require flag when deployed on Vercel with the |
I've come to the conclusion that this is not possible at the moment because there is no way to inject the tracing.js before the remix/express server on Vercel. Even in Vercel's official otel integrations documentation, they are calling instrumentation.ts in the framework code, which would be too late. https://vercel.com/docs/concepts/observability/otel-overview/quickstart I'm just going to manually trace the handleRequest and handleDataRequest in entry.server.ts |
@WesleyYue Did you try setting |
Hey! I'm trying to set up opentelemetry instrumentation with Remix hosted on Vercel. Will be outputting to DataDog, but that's another story. I currently have:
tracing.js
and package.json
I'm not sure if its working locally as nothing is being emitted from the ConsoleSpanExporter. I found the above tracing.js example in the repo, but on the Remix discord there was a different method. Can't get either to work as of yet. Any help would be really appreciated
The text was updated successfully, but these errors were encountered: