Sha256: 8185417241581c350a1627b2bf9ddc2c091f81dce23a70f49101685f129abf0c
Contents?: true
Size: 284 Bytes
Versions: 1
Compression:
Stored size: 284 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
puff-0.3.0 | lib/puff/instrumentation/redis.rb |