module Labkit::Tracing::Redis::RedisInterceptor

RedisInterceptor is an interceptor for Redis to add distributed tracing. It should be installed using the `Labkit::Tracing.instrument` method

Public Instance Methods

call(command) click to toggle source
Calls superclass method
# File lib/labkit/tracing/redis/redis_interceptor.rb, line 11
def call(command)
  RedisInterceptorHelper.call_with_tracing(command, self) do
    # Note: when used without any arguments super uses the arguments given to the subclass method.
    super
  end
end
call_pipeline(pipeline) click to toggle source
Calls superclass method
# File lib/labkit/tracing/redis/redis_interceptor.rb, line 18
def call_pipeline(pipeline)
  RedisInterceptorHelper.call_pipeline_with_tracing(pipeline, self) do
    # Note: when used without any arguments super uses the arguments given to the subclass method.
    super
  end
end