Skip to content

Commit a56cd65

Browse files
committed
modify docs
1 parent 3adc0cd commit a56cd65

File tree

1 file changed

+4
-4
lines changed
  • instrumentation/opentelemetry-instrumentation-asyncio

1 file changed

+4
-4
lines changed

instrumentation/opentelemetry-instrumentation-asyncio/README.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ The metric for coroutine, future, is generated even if there is no setting to ge
1414

1515

1616
Set the name of the coroutine you want to trace.
17-
-----------------------------------------------
17+
-------------------------------------------------
1818
.. code::
1919
export OTEL_PYTHON_ASYNCIO_COROUTINE_NAMES_TO_TRACE=coro_name,coro_name2,coro_name3
2020
2121
If you want to keep track of which function to use in the to_thread function of asyncio, set the name of the function.
22-
-----------------------------------------------
22+
---------------------------------------------------------------------------------------------------------------------------------------------
2323
.. code::
2424
export OTEL_PYTHON_ASYNCIO_TO_THREAD_FUNCTION_NAMES_TO_TRACE=func_name,func_name2,func_name3
2525
@@ -29,7 +29,7 @@ For future, set it up like this
2929
export OTEL_PYTHON_ASYNCIO_FUTURE_TRACE_ENABLED=true
3030
3131
Run instrumented application
32-
--------------------
32+
-----------------------------
3333
1. coroutine
3434
--------------------
3535
.. code:: python
@@ -80,7 +80,7 @@ Run instrumented application
8080
8181
8282
asyncio metric types
83-
--------------------
83+
----------------------
8484

8585
* `asyncio.futures.duration` (ms) - Duration of the future
8686
* `asyncio.futures.exceptions` (count) - Number of exceptions raised by the future

0 commit comments

Comments
 (0)