Open
Description
What happened?
Steps to Reproduce
Initialisation of OTLPLogExporter
is failing, see the application illustrating the problem here https://github.com/kostz/otlp-logging-browser-demo
Expected Result
Build successful
Actual Result
Build unsuccessful
🚨 Build failed.
@parcel/core: Failed to resolve '@opentelemetry/otlp-exporter-base/browser-http' from
'./node_modules/@opentelemetry/exporter-logs-otlp-http/build/esm/platform/browser/OTLPLogExporter.js'
Additional Details
- It seems that problem relates to this PR feat(exporters)!: collapse base classes into one #5031 where base classes were heavily redesigned (cc: @pichlermarc )
- Everything works fine with opentelemetry v0.43.0 (with this package.json)
OpenTelemetry Setup Code
package.json
Relevant log output
🚨 Build failed.
@parcel/core: Failed to resolve '@opentelemetry/otlp-exporter-base/browser-http' from
'./node_modules/@opentelemetry/exporter-logs-otlp-http/build/esm/platform/browser/OTLPLogExporter.js'
Operating System and Version
MacOS 15.3
Runtime and Version
Node.js v23.7.0