Sha256: e1caf8432130873c8a5ca7a5c6b428d422936853f90953199198e5ee7f26c873

Contents?: true

Size: 618 Bytes

Versions: 6

Compression:

Stored size: 618 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

6 entries across 6 versions & 1 rubygems

Version Path
newrelic_rpm-8.2.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-8.1.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-8.0.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-7.2.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-7.1.0 lib/new_relic/agent/instrumentation/redis/prepend.rb
newrelic_rpm-7.0.0 lib/new_relic/agent/instrumentation/redis/prepend.rb