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):
735
735
self ._async_request_hook = kwargs .get ("async_request_hook" )
736
736
self ._async_response_hook = kwargs .get ("async_response_hook" )
737
737
738
- if getattr (self , "__instrumented" , False ):
739
- print ("already instrumented" )
740
- return
741
-
742
738
_OpenTelemetrySemanticConventionStability ._initialize ()
743
739
self ._sem_conv_opt_in_mode = _OpenTelemetrySemanticConventionStability ._get_opentelemetry_stability_opt_in_mode (
744
740
_OpenTelemetryStabilitySignalType .HTTP ,
@@ -761,8 +757,6 @@ def _instrument(self, **kwargs):
761
757
self ._handle_async_request_wrapper ,
762
758
)
763
759
764
- self .__instrumented = True
765
-
766
760
def _uninstrument (self , ** kwargs ):
767
761
import httpx
768
762
You can’t perform that action at this time.
0 commit comments