Module NewRelic::Agent::Instrumentation::Sinatra::TransactionNamer
In: lib/new_relic/agent/instrumentation/sinatra/transaction_namer.rb

Methods

Constants

SINATRA_ROUTE = 'sinatra.route'
ROOT = '/'.freeze

Public Instance methods

For bare Sinatra, our override on process_route captures the last route into the environment for us to use later on

For Padrino, the request object has a copy of the matched route on it when we go to evaluating, so we can just retrieve that

[Validate]