Sha256: 00721eff0fe8f050c25612e12ae0f3c23d2b25dbc47bbed6ce272925c69c4fed

Contents?: true

Size: 760 Bytes

Versions: 30

Compression:

Stored size: 760 Bytes

Contents

# 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

      # Defined in version 5.x+
      def call_v(*args, &block)
        call_with_tracing(args[0]) { super }
      end

      # Defined in version 4.x, 3.x
      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

30 entries across 30 versions & 1 rubygems

Version Path
newrelic_rpm-9.2.2 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.2.1 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.2.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.1.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.0.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-8.16.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-8.15.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-8.14.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-8.13.1 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-8.13.0 lib/new_relic/agent/instrumentation/redis/prepend.rb