Module: Labkit::Tracing::Redis Private

Defined in:
lib/labkit/tracing/redis.rb,
lib/labkit/tracing/redis/redis_interceptor.rb,
lib/labkit/tracing/redis/redis_interceptor_helper.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

The Redis interceptor will intercept all calls to Redis and instrument them for distributed tracing

Defined Under Namespace

Modules: RedisInterceptor Classes: RedisInterceptorHelper

Class Method Summary collapse

Class Method Details

.instrumentObject



12
13
14
# File 'lib/labkit/tracing/redis.rb', line 12

def self.instrument
  ::Redis::Client.prepend RedisInterceptor
end