We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3782cee commit 2960e37Copy full SHA for 2960e37
example/carry_context.py
@@ -35,6 +35,9 @@ async def launch_async_calls(parent_span):
35
with tracer.start_active_span("launch_uvloop") as sync_scope:
36
sync_scope.span.set_tag('span.kind', 'entry')
37
38
+ # You can also retrieve the currently active span with:
39
+ # tracer.active_span
40
+
41
# Launch our requests asynchronously
42
# Enter the event loop and pass in the parent tracing context (sync_scope) manually
43
asyncio.run(launch_async_calls(sync_scope.span))
0 commit comments