vhive-serverless / vHive

vHive: Open-source framework for serverless experimentation
MIT License
289 stars 90 forks source link

Splintered traces in video-bench with multi-threading #361

Open shyamjesal opened 3 years ago

shyamjesal commented 3 years ago

Describe the bug Splintered traces in video-bench with multi-threading

Expected behavior All the spans should have a common trace ID.

Logs image

Notes Tried multi-processing too (like this. This fixes the issue in docker compose, but when using knative, the traces get splintered.

ustiugov commented 3 years ago

Update: the issue seems to root in the fact that we do not pass the context when invoking many functions at once. It is not very clear how to do that in Python.