Sha256: bca3bbfd15d5c384d7786cb35d84fab47d9780e030d6d83a20b010e022b55570
Contents?: true
Size: 469 Bytes
Versions: 52
Compression:
Stored size: 469 Bytes
Contents
# frozen_string_literal: true require "redis" module Labkit module Tracing # The Redis interceptor will intercept all calls to Redis and instrument them for distributed tracing module Redis autoload :RedisInterceptor, "labkit/tracing/redis/redis_interceptor" autoload :RedisInterceptorHelper, "labkit/tracing/redis/redis_interceptor_helper" def self.instrument ::Redis::Client.prepend RedisInterceptor end end end end
Version data entries
52 entries across 52 versions & 1 rubygems