File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
instrumentation/opentelemetry-instrumentation-redis
src/opentelemetry/instrumentation/redis Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -624,8 +624,8 @@ def uninstrument_connection(client):
624624 if getattr (client , INSTRUMENTATION_ATTR ):
625625 # for all clients we need to unwrap execute_command and pipeline functions
626626 unwrap (client , "execute_command" )
627- # pipeline was creating a pipeline and wrapping the functions of the
628- # created instance. any pipeline created before un-instrumenting will
627+ # the method was creating a pipeline and wrapping the functions of the
628+ # created instance. any pipelines created before un-instrumenting will
629629 # remain instrumented (pipelines should usually have a short span)
630630 unwrap (client , "pipeline" )
631631 pass
Original file line number Diff line number Diff line change 3737class TestRedis (TestBase ):
3838 def setUp (self ):
3939 super ().setUp ()
40- RedisInstrumentor ().instrument (_provider = self .tracer_provider )
40+ RedisInstrumentor ().instrument (tracer_provider = self .tracer_provider )
4141
4242 def tearDown (self ):
4343 super ().tearDown ()
You can’t perform that action at this time.
0 commit comments