Inconsistent endTime when ending Spans. EndTime may be > than startTime with Typescript #3330
Labels
bug
Something isn't working
information-requested
Bug is waiting on additional information from the user
triage
What happened?
Steps to Reproduce
super
function and assign astarted
timethis._started = new Date()
init
method, that gets WebVitals traces (CLS, FID, FCP, ...)traces
that comes fromIntrumentationBase
and start creating Spans withstartSpan
span.end()
function without any endTime send as argument (this should in theory, set the endTime as later thanthis._started
Expected Result
We see the Spans with StartTime <= EndTime
Actual Result
The EndTime value is inconsistent. In some cases is behaving as expected, and in some others we see the date being up to 12 hours before the
_started
date.Additional Details
Screenshot of the Ingested Traces
OpenTelemetry Setup Code
instrumentation.js
loader.js
package.json
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: