Skip to content

Commit b036ba3

Browse files
committed
modified lint results
1 parent 1f0f340 commit b036ba3

File tree

1 file changed

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

1 file changed

+7
-4
lines changed

instrumentation/opentelemetry-instrumentation-asyncio/README.rst

+7-4
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@ The metric for coroutine, future, is generated even if there is no setting to ge
1515

1616
Set the name of the coroutine you want to trace.
1717
-------------------------------------------------
18-
.. code::
18+
.. code:: bash
19+
1920
export OTEL_PYTHON_ASYNCIO_COROUTINE_NAMES_TO_TRACE=coro_name,coro_name2,coro_name3
2021
2122
If you want to keep track of which function to use in the to_thread function of asyncio, set the name of the function.
2223
------------------------------------------------------------------------------------------------------------------------
23-
.. code::
24+
.. code:: bash
25+
2426
export OTEL_PYTHON_ASYNCIO_TO_THREAD_FUNCTION_NAMES_TO_TRACE=func_name,func_name2,func_name3
2527
2628
For future, set it up like this
2729
-----------------------------------------------
28-
.. code::
30+
.. code:: bash
31+
2932
export OTEL_PYTHON_ASYNCIO_FUTURE_TRACE_ENABLED=true
3033
3134
Run instrumented application
@@ -122,6 +125,6 @@ Installation
122125
References
123126
----------
124127

125-
* `OpenTelemetry asyncio/ Tracing <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/<REPLACE ME>/<REPLACE ME>.html>`_
128+
* `OpenTelemetry asyncio/ Tracing <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/asyncio/asyncio.html>`_
126129
* `OpenTelemetry Project <https://opentelemetry.io/>`_
127130
* `OpenTelemetry Python Examples <https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples>`_

0 commit comments

Comments
 (0)