Can't update to @opentelemetry/sdk-node v0.34.0 using esbuild #3521
Labels
bug
Something isn't working
priority:p1
Bugs which cause problems in end-user applications such as crashes, data inconsistencies, etc
What happened?
I tried to update to @opentelemetry/sdk-node v0.34.0 today. I was previously using v0.32.0. I had to stop at v0.33.0, because v0.34.0 does not work with esbuild (whereas previous versions could be made to work).
Steps to Reproduce
✅ Succeeds with @opentelemetry/sdk-node v0.33.0
❌ Fails with @opentelemetry/sdk-node v0.34.0
Expected Behavior
Running
node test.js
succeeds and prints "Tracing initialized".Actual Behavior
Running
node test.js
throws an error, due to.thrift
files it cannot read:Show error
Additional Details
This is a minimal reproduction. In my actual application, I have a much weirder error that I cannot explain:
Show error
In production, I actually use the OTLPTraceExporter with the hack described here #2786 (comment). Maybe I should actually update to the HTTP exporter, per #2786 (comment). But I think I'd still need some way to avoid this
.thrift
file issue.OpenTelemetry Setup Code
See above.
package.json
See above.
Relevant log output
See above.
The text was updated successfully, but these errors were encountered: