Sha256: f9f6084b8be8da341cbe817ff030c894317519b799fec8d3cc9359e6335cd19e
Contents?: true
Size: 286 Bytes
Versions: 2
Compression:
Stored size: 286 Bytes
Contents
# Monkey Patching for profit. class Redis class Client alias :old_logging :logging def logging(commands, &block) ::ActiveSupport::Notifications.instrument('request.redis', commands: commands) do return old_logging(commands, &block) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
puff-0.4.0 | lib/puff/instrumentation/redis.rb |
puff-0.3.1 | lib/puff/instrumentation/redis.rb |