Class: ElasticAPM::Normalizers::ActionController::ProcessActionNormalizer Private
- Inherits:
-
Normalizer
- Object
- Normalizer
- ElasticAPM::Normalizers::ActionController::ProcessActionNormalizer
- Defined in:
- lib/elastic_apm/normalizers/rails/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'
- SUBTYPE =
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.
'controller'
- ACTION =
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.
'action'
Instance Method Summary collapse
Methods inherited from Normalizer
#backtrace, #initialize, register
Constructor Details
This class inherits a constructor from ElasticAPM::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.
31 32 33 34 |
# File 'lib/elastic_apm/normalizers/rails/action_controller.rb', line 31 def normalize(transaction, _name, payload) transaction.name = endpoint(payload) [transaction.name, TYPE, SUBTYPE, ACTION, nil] end |