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.16.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.15.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.14.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.13.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.12.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.11.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.10.2 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.10.1 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.10.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.9.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.8.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.7.1 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.7.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.6.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.5.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.4.2 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.4.1 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.4.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.3.1 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-9.3.0 lib/new_relic/agent/instrumentation/redis/prepend.rb