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
Added ability to extract span attributes from Tonado request objects.
OTEL_PYTHON_TONADO_TRACED_REQUEST_ATTRS env var can be set to a command
separated list of attributes names that will be extracted from Tornado's
request object and set as attributes on spans.
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django/middleware.py
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-tornado/README.rst
+12
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,18 @@ A comma separated list of paths that should not be automatically traced. For exa
31
31
32
32
Then any requests made to ``/healthz`` and ``/ping`` will not be automatically traced.
33
33
34
+
Request attributes
35
+
********************
36
+
To extract certain attributes from Tornado's request object and use them as span attributes, set the environment variable ``OTEL_PYTHON_TORNADO_TRACED_REQUEST_ATTRS`` to a comma
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py
0 commit comments