Class: ActionController::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/amqp_logging/metrics_agent/rails.rb

Instance Method Summary collapse

Instance Method Details

#log_processing_for_request_id_with_metrics_agentObject



9
10
11
12
13
# File 'lib/amqp_logging/metrics_agent/rails.rb', line 9

def log_processing_for_request_id_with_metrics_agent
  logger.agent[:page] = "#{self.class.name}\##{action_name}"
  logger.agent[:started_at] = AMQPLogging.iso_time_with_microseconds
  log_processing_for_request_id_without_metrics_agent
end