https://signoz.io logo
#support
Title
# support
a

Alex

01/28/2024, 8:41 AM
Hey there everyone! Maybe you can share some materials on how to use python auto-instrumentation for context propagation? I'm working with a quite big number of separate FastAPI services running in docker, and naive opentelemetry-instrument uvicorn app:app ... doesn't provide any context propagation. In result i get a bunch of unrelated traces. I've succeeded to make a context propagation manually via extracting/injecting trace context from headers https://github.com/naumnaum/fastapi-opentelemetry-tracing/tree/master However it would be really painful to integrate this manually to the main project i'm working on.
s

Srikanth Chekuri

01/29/2024, 9:32 AM
and naive
opentelemetry-instrument uvicorn app:app ...
doesn't provide any context propagation.
This is not true. The context should be propagated automatically.