Closed
Description
What version of OpenTelemetry are you using?
0.15.0
What version of Node are you using?
v12.18.0
Please provide the code you used to setup the OpenTelemetry SDK
Examples provided within this repo
What did you do?
- Clone the repo
- Navigate to opentelemetry-js/examples/tracer-web
- Execute
npm install
- Execute
npm start
- Select document load test
What did you expect to see?
Open tracing data related to document load in the console
What did you see instead?
Javsacript error
zone.js?9bea:178 Uncaught TypeError: this._tracer.withSpan is not a function
at eval (documentLoad.js?dae3:76)
at NoopContextManager.with (NoopContextManager.js?9e96:27)
at ContextAPI.with (context.js?44eb:60)
at DocumentLoad._collectPerformance (documentLoad.js?dae3:71)
at eval (documentLoad.js?dae3:48)
at ZoneDelegate.invokeTask (zone.js?9bea:402)
at Zone.runTask (zone.js?9bea:174)
at invokeTask (zone.js?9bea:483)
at ZoneTask.invoke (zone.js?9bea:472)
at timer (zone.js?9bea:2538)
User interaction test fails with the same error when clicking on any button.
Additional context
Downgrading to version 0.14.0 of the libs seems to work, so might be related to #1836
Activity