Sha256: e1e969df32081b372a3671dcef20c044f524f6d555d388e79e0420d7daf82ff8

Contents?: true

Size: 554 Bytes

Versions: 2

Compression:

Stored size: 554 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 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.2.0 lib/new_relic/agent/instrumentation/padrino/prepend.rb
newrelic_rpm-8.1.0 lib/new_relic/agent/instrumentation/padrino/prepend.rb