We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f42c678 commit 52471f9Copy full SHA for 52471f9
instrumentation/opentelemetry-instrumentation-httpx/src/opentelemetry/instrumentation/httpx/__init__.py
@@ -890,9 +890,7 @@ def instrument_client(
890
that is called right before the span ends
891
"""
892
893
- if getattr(
894
- client._transport, "_is_instrumented_by_opentelemetry", False
895
- ):
+ if getattr(client, "_is_instrumented_by_opentelemetry", False):
896
_logger.warning(
897
"Attempting to instrument Httpx client while already instrumented"
898
)
0 commit comments