Sha256: 7476eef8462cd312ae885c9b3fabc2c5770ecb6e08bde7994577de2022520e53
Contents?: true
Size: 407 Bytes
Versions: 20
Compression:
Stored size: 407 Bytes
Contents
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2021 module Instana module Activators class Redis < Activator def can_instrument? defined?(::Redis) && ::Instana.config[:redis][:enabled] end def instrument require 'instana/instrumentation/redis' ::Redis::Client.prepend(::Instana::RedisInstrumentation) true end end end end
Version data entries
20 entries across 20 versions & 1 rubygems