Skip to content

Commit b4c453c

Browse files
committed
modify docs
1 parent 3356942 commit b4c453c

File tree

1 file changed

+0
-16
lines changed
  • instrumentation/opentelemetry-instrumentation-asyncio/src/opentelemetry/instrumentation/asyncio

1 file changed

+0
-16
lines changed

instrumentation/opentelemetry-instrumentation-asyncio/src/opentelemetry/instrumentation/asyncio/__init__.py

-16
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,6 @@
1717
The opentelemetry-instrumentation-asycnio package allows tracing asyncio applications.
1818
The metric for coroutine, future, is generated even if there is no setting to generate a span.
1919
20-
21-
Set the name of the coroutine you want to trace.
22-
-------------------------------------------------
23-
.. code::
24-
export OTEL_PYTHON_ASYNCIO_COROUTINE_NAMES_TO_TRACE=coro_name,coro_name2,coro_name3
25-
26-
If you want to keep track of which function to use in the to_thread function of asyncio, set the name of the function.
27-
------------------------------------------------------------------------------------------------------------------------
28-
.. code::
29-
export OTEL_PYTHON_ASYNCIO_TO_THREAD_FUNCTION_NAMES_TO_TRACE=func_name,func_name2,func_name3
30-
31-
For future, set it up like this
32-
---------------------------------
33-
.. code::
34-
export OTEL_PYTHON_ASYNCIO_FUTURE_TRACE_ENABLED=true
35-
3620
Run instrumented application
3721
------------------------------
3822
1. coroutine

0 commit comments

Comments
 (0)