Class: Skylight::Normalizers::ActionController::ProcessAction Private

Inherits:
Normalizer show all
Defined in:
lib/skylight/normalizers/action_controller/process_action.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

CAT =

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.request".freeze
PAYLOAD_KEYS =

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.

%w[ controller action params format method path ].map(&:to_sym).freeze

Instance Attribute Summary

Attributes inherited from Normalizer

#config

Instance Method Summary collapse

Methods inherited from Normalizer

#initialize, register

Constructor Details

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

Instance Method Details

#normalize(trace, 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.



10
11
12
13
# File 'lib/skylight/normalizers/action_controller/process_action.rb', line 10

def normalize(trace, name, payload)
  trace.endpoint = controller_action(payload)
  [ CAT, trace.endpoint, nil, normalize_payload(payload) ]
end