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
Working with OpenTelemetry in Python for the first time today, seeing an odd issue where timestamps come out identical in most cases when running in a Windows Professional/Enterprise environment. I've seen some uniqueness in the timestamps rarely, and usually right after starting or restarting the Flask app, and only the first run after the restart.
Describe your environment
Windows 10 Enterprise 20H2 19042.2364 (VMware VDI) & Windows 11 Professional for Workstations 22H2 22621.963 (bare metal)
Python 3.8.10 && 3.9.13
Flask==2.2.2
opentelemetry-api==1.15.0
opentelemetry-sdk==1.15.0
What is the expected behavior?
Expectation is to see unique timestamps across each recording in the output telemetry, parent and children. Expected output below is from the same code running on a RHEL8 server with Python 3.8.10.
We use time_ns for our timestamps. I see that there is a significant difference between Linux and Windows resolutions for time_ns, the Linux one being much higher. I think this behavior could an unavoidable consequence of the lower Windows time_ns resoluiton.
No problem @ocelotl , appreciate the reply nonetheless. While I think there is value in correcting this, if at all possible, I've advised our teams for now that they'll need to develop solutions in WSL if on Windows, else macOS.
Working with OpenTelemetry in Python for the first time today, seeing an odd issue where timestamps come out identical in most cases when running in a Windows Professional/Enterprise environment. I've seen some uniqueness in the timestamps rarely, and usually right after starting or restarting the Flask app, and only the first run after the restart.
Describe your environment
Windows 10 Enterprise 20H2 19042.2364 (VMware VDI) & Windows 11 Professional for Workstations 22H2 22621.963 (bare metal)
Python 3.8.10 && 3.9.13
Flask==2.2.2
opentelemetry-api==1.15.0
opentelemetry-sdk==1.15.0
Steps to reproduce
Primarily followed guide here: Tutorial on Timescale.com.
flask run
curl
: http://127.0.0.1:5000/roll?sides=10&rolls=5What is the expected behavior?
Expectation is to see unique timestamps across each recording in the output telemetry, parent and children. Expected output below is from the same code running on a RHEL8 server with Python 3.8.10.
What is the actual behavior?
When running this code in Windows, in about 90% of cases all timestamps are the same.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: