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 was archived by the owner on Oct 3, 2023. It is now read-only.
Currently the start and end times in the Span interface use the Date type, which is accurate only to milliseconds.
But it would be nice to have higher timestamp accuracy as sub-millisecond times can be useful to measure fast events or small differences between client and service spans for an RPC. My suggestion would be to migrate to use the Timestamp interface or a [seconds, nanos] tuple.
Currently the
startandendtimes in the Span interface use theDatetype, which is accurate only to milliseconds.But it would be nice to have higher timestamp accuracy as sub-millisecond times can be useful to measure fast events or small differences between client and service spans for an RPC. My suggestion would be to migrate to use the Timestamp interface or a
[seconds, nanos]tuple.We now have the getTimestampWithProcessHRTime, which would be used to populate the times.
This would be a breaking change, but I think doing it sooner rather than later would reduce the pain of it.