Is there way to push NewRelic error manually?

前端 未结 3 827
我寻月下人不归
我寻月下人不归 2021-02-11 19:28

In our Rails app we rescue most of the exceptions on ApplicationController to give correct API response, but still want to track errors happening using ErrorCollector. Is there

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-11 20:19

    Full documentation of the API call to notice errors and increment the error metric is the New Relic Ruby Agent API documentation here http://rdoc.info/github/newrelic/rpm/NewRelic/Agent/Transaction.notice_error

提交回复
热议问题