Module: NewRelic::Agent::Instrumentation::Rails3::Errors
- Defined in:
- lib/new_relic/agent/instrumentation/rails3/errors.rb
Instance Method Summary collapse
Instance Method Details
#newrelic_notice_error(exception, custom_params = {}) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/new_relic/agent/instrumentation/rails3/errors.rb', line 6 def newrelic_notice_error(exception, custom_params = {}) filtered_params = (respond_to? :filter_parameters) ? filter_parameters(params) : params filtered_params.merge!(custom_params) NewRelic::Agent::Instrumentation::MetricFrame.notice_error( \ exception, \ :request => request, \ :metric => newrelic_metric_path, \ :custom_params => filtered_params) end |