-
Notifications
You must be signed in to change notification settings - Fork 586
Open
Labels
Description
- This only affects the JavaScript OpenTelemetry library
- This may affect other libraries, but I would like to get opinions here first
I have an backend microservice (NodeJs). That is build for Desktop and Cloud. We recently added Otel Tracing to our services. We just use Http Instrumentation to get basic spans with node build in tools (http).
Our build flow:
- Use Webpack to bundle to a single file.
- For Cloud --> node bundle.js
- For Desktop --> NodeJS 22 SEA
For Cloud the tracing is working fine, so the bundled version of our application is working fine with the OTEL HTTP Instrumenation
For the desktop executable the tracing is not working, as the http module can probably not be wrapped.
How can I manage this with NodeJS SEA or is my only choice to ship for desktop as well the node.exe & bundle.js?