Sha256: 0419718c4489be4a66d88f87c2cf0e5edecbdd8d8016638424e7d120b5a74019

Contents?: true

Size: 585 Bytes

Versions: 2

Compression:

Stored size: 585 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 PadrinoTracer
    module Prepend
      include NewRelic::Agent::Instrumentation::Sinatra
      include NewRelic::Agent::Instrumentation::Padrino

      def dispatch
        dispatch_with_tracing { super }
      end

      def invoke_route(*args, &block)
        invoke_route_with_tracing(*args) { 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/padrino/prepend.rb
newrelic_rpm-8.10.0 lib/new_relic/agent/instrumentation/padrino/prepend.rb