You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
Fixescensus-instrumentation#506
We added a monotonic time calculation but without
much context as to why, so by just looking at the code
the calculation seemed unnecessary but after a few
discussions and godoc readings, calculation of time
using the monotonic clock is achievable by subtractions
hence the startTime.Add(time.Now(startTime).
Extract that code into an internal helper for clarity
and since we'll be re-using that code later on, such as
for census-instrumentation#508
odeke-em
added a commit
to orijtech/opencensus-go
that referenced
this issue
Mar 1, 2018
Fixescensus-instrumentation#506
We added a monotonic time calculation but without
much context as to why, so by just looking at the code
the calculation seemed unnecessary but after a few
discussions and godoc readings, calculation of time
using the monotonic clock is achievable by subtractions
hence the startTime.Add(time.Now(startTime).
Extract that code into an internal helper for clarity
and since we'll be re-using that code later on, such as
for census-instrumentation#508
* Add an internal utility MonotonicTimeSince
Fixes#506
We added a monotonic time calculation but without
much context as to why, so by just looking at the code
the calculation seemed unnecessary but after a few
discussions and godoc readings, calculation of time
using the monotonic clock is achievable by subtractions
hence the startTime.Add(time.Now(startTime).
Extract that code into an internal helper for clarity
and since we'll be re-using that code later on, such as
for #508
* Move MonotonicTime since comments out of body and up into godoc
Feedback from @rakyll in review.
* Change name to MonotonicEndTime
As per @Ramonza's review suggestion, since
the previous MonotonicTimeSince name suggests
it being a duration due to usage of Since
with alludes to time.Since.
rakyll
changed the title
trace: calculate all children span start times using the monotonic clock
Calculate all children span start times using the monotonic clock
Mar 6, 2018
We initially made an improvement to calculate the span duration from the monotonic clock.
We also have to make sure that children start times are calculated with the monotonic clock to have a more precise overview of a trace.
The text was updated successfully, but these errors were encountered: