Module: ScoutApm::Transaction
- Defined in:
- lib/scout_apm/transaction.rb
Class Method Summary collapse
-
.ignore! ⇒ Object
Ignores the current request.
-
.rename(name) ⇒ Object
Renames the last Controller or Job layer.
Class Method Details
.ignore! ⇒ Object
Ignores the current request
4 5 6 |
# File 'lib/scout_apm/transaction.rb', line 4 def self.ignore! ::ScoutApm::RequestManager.lookup.ignore_request! end |
.rename(name) ⇒ Object
Renames the last Controller or Job layer
9 10 11 |
# File 'lib/scout_apm/transaction.rb', line 9 def self.rename(name) ::ScoutApm::RequestManager.lookup.name_override = name end |