Class: StackifyRubyAPM::Normalizers::ActionController::ProcessActionNormalizer Private

Inherits:
Normalizer
  • Object
show all
Defined in:
lib/stackify_apm/normalizers/action_controller.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary collapse

TYPE =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'app.controller.action'.freeze

Instance Method Summary collapse

Methods inherited from Normalizer

#initialize, register

Constructor Details

This class inherits a constructor from StackifyRubyAPM::Normalizers::Normalizer

Instance Method Details

#normalize(transaction, _name, payload) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



11
12
13
14
# File 'lib/stackify_apm/normalizers/action_controller.rb', line 11

def normalize(transaction, _name, payload)
  transaction.name = endpoint(payload)
  [transaction.name, TYPE, nil]
end