module NewRelic::Agent::Instrumentation::Sinatra::Build::Chain
Public Class Methods
build_with_newrelic(*args, &block)
click to toggle source
# File lib/new_relic/agent/instrumentation/sinatra/chain.rb, line 42 def build_with_newrelic(*args, &block) build_with_tracing(*args) do build_without_newrelic(*args, &block) end end
Also aliased as: build
instrument!()
click to toggle source
# File lib/new_relic/agent/instrumentation/sinatra/chain.rb, line 39 def self.instrument! ::Sinatra::Base.class_eval do class << self def build_with_newrelic(*args, &block) build_with_tracing(*args) do build_without_newrelic(*args, &block) end end alias build_without_newrelic build alias build build_with_newrelic end end end