Tracing is optional and the web OpenTelemetry stack is browser-only: @opentelemetry/context-zone patches globals (zone.js) and breaks MessagePort dispatch in Node. It is therefore imported on demand by init(), and only in a browser, never at module load.

Index