Skip to content
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

[API] SpanOptions #startTime is of type TimeInput #1793

Closed
dyladan opened this issue Jan 6, 2021 · 0 comments · Fixed by #1815
Closed

[API] SpanOptions #startTime is of type TimeInput #1793

dyladan opened this issue Jan 6, 2021 · 0 comments · Fixed by #1815
Projects

Comments

@dyladan
Copy link
Member

dyladan commented Jan 6, 2021

There is an inconsistency between tracer.startSpan() and span.end() regarding timestamps passed by user:

  • SpanOptions #startTime is of type number
  • span.end() accepts TimeInput which is HrTime | number | Date

Originally posted by @Flarna in #1765 (comment)

@dyladan dyladan added the API label Jan 6, 2021
@dyladan dyladan added this to To do issues in GA Burndown via automation Jan 6, 2021
GA Burndown automation moved this from To do issues to Done Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
GA Burndown
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant