Sha256: b3cf322ff11b92f6093c823afd590e5086b33798cf25be16a10bb02c19787cba

Contents?: true

Size: 622 Bytes

Versions: 2

Compression:

Stored size: 622 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
# frozen_string_literal: true

module NewRelic::Agent::Instrumentation
  module Redis
    module Prepend
      include NewRelic::Agent::Instrumentation::Redis

      def call(*args, &block)
        call_with_tracing(args[0]) { super }
      end

      def call_pipeline(*args, &block)
        call_pipeline_with_tracing(args[0]) { super }
      end

      def connect(*args, &block)
        connect_with_tracing { super }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
newrelic_rpm-8.10.1 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-8.10.0 lib/new_relic/agent/instrumentation/redis/prepend.rb