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
According to Pep0564, the precision varies based off of OS (with testing the average step is that of ~1ms in Windows). Java has implemented an AnchoredClock class which provides much more precise readings of ns (100~ns). We might want to do something similar in our SDKs.
Followup to #1594
Currently, we use
time_ns()
to denote current time in ns -> like hereopentelemetry-python/opentelemetry-sdk/src/opentelemetry/sdk/_events/__init__.py
Line 54 in 3ae1138
According to Pep0564, the precision varies based off of OS (with testing the average step is that of ~1ms in Windows). Java has implemented an AnchoredClock class which provides much more precise readings of ns (100~ns). We might want to do something similar in our SDKs.
Relevant issue: open-telemetry/semantic-conventions#1621 (comment)
The text was updated successfully, but these errors were encountered: