Module: Datadog::Tracing::Contrib::Redis::Instrumentation::InstanceMethods
- Defined in:
- lib/datadog/tracing/contrib/redis/instrumentation.rb
Overview
InstanceMethods - implementing instrumentation
Instance Method Summary collapse
Instance Method Details
#call(*args, &block) ⇒ Object
22 23 24 |
# File 'lib/datadog/tracing/contrib/redis/instrumentation.rb', line 22 def call(*args, &block) TraceMiddleware.call(self, args[0], service_name, command_args?) { super } end |
#call_pipeline(*args, &block) ⇒ Object
26 27 28 |
# File 'lib/datadog/tracing/contrib/redis/instrumentation.rb', line 26 def call_pipeline(*args, &block) TraceMiddleware.call_pipelined(self, args[0].commands, service_name, command_args?) { super } end |