module Appsignal::Redis::Instrumentation

Private Instance Methods

process_with_appsignal_instrumentation(commands, &block) click to toggle source
# File lib/appsignal-redis.rb, line 10
def process_with_appsignal_instrumentation(commands, &block)
  ActiveSupport::Notifications.instrument(
    'query.redis', :query => commands) do
      process_without_appsignal_instrumentation(commands, &block)
    end
end