Skip to content

Commit

Permalink
modify docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bourbonkk committed Oct 10, 2023
1 parent 3356942 commit b4c453c
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,6 @@
The opentelemetry-instrumentation-asycnio package allows tracing asyncio applications.
The metric for coroutine, future, is generated even if there is no setting to generate a span.
Set the name of the coroutine you want to trace.
-------------------------------------------------
.. code::
export OTEL_PYTHON_ASYNCIO_COROUTINE_NAMES_TO_TRACE=coro_name,coro_name2,coro_name3
If you want to keep track of which function to use in the to_thread function of asyncio, set the name of the function.
------------------------------------------------------------------------------------------------------------------------
.. code::
export OTEL_PYTHON_ASYNCIO_TO_THREAD_FUNCTION_NAMES_TO_TRACE=func_name,func_name2,func_name3
For future, set it up like this
---------------------------------
.. code::
export OTEL_PYTHON_ASYNCIO_FUTURE_TRACE_ENABLED=true
Run instrumented application
------------------------------
1. coroutine
Expand Down

0 comments on commit b4c453c

Please sign in to comment.