You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-logging/src/opentelemetry/instrumentation/logging/__init__.py
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,6 @@
21
21
22
22
.. code-block:: python
23
23
24
-
# export OTEL_PYTHON_LOG_CORRELATION=true
25
-
26
24
import logging
27
25
28
26
from opentelemetry.instrumentation.logging import LoggingInstrumentor
@@ -32,9 +30,10 @@
32
30
logging.warning('OTel test')
33
31
34
32
When running the above example you will see the following output:
0 commit comments