-
Notifications
You must be signed in to change notification settings - Fork 838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect span timestamp for node version 8.11.4 to 8.10.0 #2834
Comments
It looks like the startTime and endTime are set here which is using perf_hooks that calls There was an node issue opened about So if |
Probably. I know at least @rauno56 was in support of dropping node 8 support completely anyway. |
Discussed this in SIG meeting - the docs need to be updated to state support from node 8.12 and up. |
Fixed in #2860 |
Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
What version of Node are you using?
v8.11.4 but this issue exists for versions 8.11.4 to 8.10.0
Please provide the code you used to setup the OpenTelemetry SDK
What did you do?
Use node v8.11.4. Start the tracing file. Generate some spans. You'll notice that the
startTime
andendTime
are incorrect.What did you expect to see?
Spans with the correct timestamp.
What did you see instead?
Spans with incorrect timestamps.
Additional context
Span timestamps (start and end times) between the two versions:
The text was updated successfully, but these errors were encountered: