Class: Temescal::Monitors::NewRelic
- Inherits:
-
MonitorsStrategy
- Object
- MonitorsStrategy
- Temescal::Monitors::NewRelic
- Defined in:
- lib/temescal/monitors.rb
Overview
Public: Reporting strategy for New Relic.
Class Method Summary collapse
-
.report(exception) ⇒ Object
Public: Reports an exception to New Relic.
Class Method Details
.report(exception) ⇒ Object
Public: Reports an exception to New Relic.
exception - The caught exception.
30 31 32 |
# File 'lib/temescal/monitors.rb', line 30 def self.report(exception) ::NewRelic::Agent.notice_error exception end |