File tree 2 files changed +3
-3
lines changed
instrumentation/opentelemetry-instrumentation-redis
src/opentelemetry/instrumentation/redis
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):
675
675
if getattr (client , INSTRUMENTATION_ATTR ):
676
676
# for all clients we need to unwrap execute_command and pipeline functions
677
677
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
680
680
# remain instrumented (pipelines should usually have a short span)
681
681
unwrap (client , "pipeline" )
682
682
pass
Original file line number Diff line number Diff line change 37
37
class TestRedis (TestBase ):
38
38
def setUp (self ):
39
39
super ().setUp ()
40
- RedisInstrumentor ().instrument (_provider = self .tracer_provider )
40
+ RedisInstrumentor ().instrument (tracer_provider = self .tracer_provider )
41
41
42
42
def tearDown (self ):
43
43
super ().tearDown ()
You can’t perform that action at this time.
0 commit comments