Sha256: 882588730c6c897f7445f0190bb21d4e83168f4dde2a188524bff0e69dce074f

Contents?: true

Size: 548 Bytes

Versions: 4

Compression:

Stored size: 548 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.

module NewRelic::Agent::Instrumentation
  module Padrino
    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

4 entries across 4 versions & 1 rubygems

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