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 @@ -738,10 +738,6 @@ def _instrument(self, **kwargs):
738738 self ._async_request_hook = kwargs .get ("async_request_hook" )
739739 self ._async_response_hook = kwargs .get ("async_response_hook" )
740740
741- if getattr (self , "__instrumented" , False ):
742- print ("already instrumented" )
743- return
744-
745741 _OpenTelemetrySemanticConventionStability ._initialize ()
746742 self ._sem_conv_opt_in_mode = _OpenTelemetrySemanticConventionStability ._get_opentelemetry_stability_opt_in_mode (
747743 _OpenTelemetryStabilitySignalType .HTTP ,
@@ -764,8 +760,6 @@ def _instrument(self, **kwargs):
764760 self ._handle_async_request_wrapper ,
765761 )
766762
767- self .__instrumented = True
768-
769763 def _uninstrument (self , ** kwargs ):
770764 import httpx
771765
You can’t perform that action at this time.
0 commit comments