File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
instrumentation/opentelemetry-instrumentation-httpx/src/opentelemetry/instrumentation/httpx Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -527,11 +527,11 @@ def _instrument(self, **kwargs):
527527 tracer_provider = kwargs .get ("tracer_provider" )
528528 _InstrumentedClient ._tracer_provider = tracer_provider
529529 _InstrumentedAsyncClient ._tracer_provider = tracer_provider
530- httpx .Client = _InstrumentedClient
530+ httpx .Client = httpx . _api . Client = _InstrumentedClient
531531 httpx .AsyncClient = _InstrumentedAsyncClient
532532
533533 def _uninstrument (self , ** kwargs ):
534- httpx .Client = self ._original_client
534+ httpx .Client = httpx . _api . Client = self ._original_client
535535 httpx .AsyncClient = self ._original_async_client
536536 _InstrumentedClient ._tracer_provider = None
537537 _InstrumentedClient ._request_hook = None
You can’t perform that action at this time.
0 commit comments