| Module | NewRelic::Agent::Instrumentation::Sinatra |
| In: |
lib/new_relic/agent/instrumentation/sinatra.rb
lib/new_relic/agent/instrumentation/sinatra/ignorer.rb lib/new_relic/agent/instrumentation/sinatra/transaction_namer.rb |
If a transaction name is already set, this call will tromple over it. This is intentional, as typically passing to a separate route is like an entirely separate transaction, so we pick up the new name.
If we‘re ignored, this remains safe, since set_transaction_name care for the gating on the transaction‘s existence for us.