File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
instrumentation/opentelemetry-instrumentation-httpx/src/opentelemetry/instrumentation/httpx Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -735,10 +735,6 @@ def _instrument(self, **kwargs):
735735 self ._async_request_hook = kwargs .get ("async_request_hook" )
736736 self ._async_response_hook = kwargs .get ("async_response_hook" )
737737
738- if getattr (self , "__instrumented" , False ):
739- print ("already instrumented" )
740- return
741-
742738 _OpenTelemetrySemanticConventionStability ._initialize ()
743739 self ._sem_conv_opt_in_mode = _OpenTelemetrySemanticConventionStability ._get_opentelemetry_stability_opt_in_mode (
744740 _OpenTelemetryStabilitySignalType .HTTP ,
@@ -761,8 +757,6 @@ def _instrument(self, **kwargs):
761757 self ._handle_async_request_wrapper ,
762758 )
763759
764- self .__instrumented = True
765-
766760 def _uninstrument (self , ** kwargs ):
767761 import httpx
768762
You can’t perform that action at this time.
0 commit comments