OTLP exporters shouldn't use window
as it won't work in web workers
#3168
Labels
bug
Something isn't working
priority:p4
Bugs and spec inconsistencies which do not fall into a higher prioritization
up-for-grabs
Good for taking. Extra help will be provided by maintainers
Milestone
What happened?
Steps to Reproduce
Try to use
@opentelemetry/exporter-trace-otlp-http
in a web worker.Expected Result
Otel should work in a web worker
Actual Result
An error is thrown with
window is not defined
Additional Details
OpenTelemetry Setup Code
No response
package.json
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: