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 @@ -675,8 +675,8 @@ def uninstrument_connection(client):
675675 if getattr (client , INSTRUMENTATION_ATTR ):
676676 # for all clients we need to unwrap execute_command and pipeline functions
677677 unwrap (client , "execute_command" )
678- # pipeline was creating a pipeline and wrapping the functions of the
679- # created instance. any pipeline created before un-instrumenting will
678+ # the method was creating a pipeline and wrapping the functions of the
679+ # created instance. any pipelines created before un-instrumenting will
680680 # remain instrumented (pipelines should usually have a short span)
681681 unwrap (client , "pipeline" )
682682 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