census-instrumentation / opencensus-python

A stats collection and distributed tracing framework
Apache License 2.0
669 stars 250 forks source link

Any async code documentation? #924

Open nhumrich opened 4 years ago

nhumrich commented 4 years ago

I am trying to trace my starlette applications, and I can not figure out how to use asyncio. There doesn't seem to be any documentation anywhere. If I just use a standard span, all my spans seem think they are child spans, instead of separate spans, even though the library seems to be using the new python contextvars for span context.

Are there any examples or middlewares for async or existing async frameworks, such as aiohttp/starlette/etc?

lzchen commented 4 years ago

@nhumrich All supported integrations can be found here.

Currently, there is no integration for the frameworks that you've listed above.