Module: RailsObservatory::Events
- Extended by:
- ActiveSupport::Concern
- Included in:
- JobTrace, RequestTrace
- Defined in:
- lib/rails_observatory/models/events.rb
Instance Method Summary collapse
Instance Method Details
#mail_events ⇒ Object
17 18 19 20 |
# File 'lib/rails_observatory/models/events.rb', line 17 def mail_events events.only('enqueue.action_job', 'deliver.action_mailer') .reject { _1['name'] == 'enqueue.action_job' && _1.dig('payload', 'job', 'class') != 'ActionMailer::MailDeliveryJob' } end |