0

我有一个在 heroku 上运行的 Ruby 应用程序,并使用 New Relic 进行监控。我喜欢任何出现在 New Relic Event > Alerts 中的错误日志实例。

那可能吗?我尝试了很多方法,但根本没有产生任何警报。

是否有其他方法可以从我的 rails 应用程序触发警报?

4

2 回答 2

1

可以在此处找到使用 API 创建警报的示例:https ://newrelic.com/docs/instrumentation/alert-api-examples

于 2013-07-11T18:39:53.157 回答
1

您应该能够使用 REST-api ( https://newrelic.com/docs/instrumentation/getting-started-with-the-new-relic-rest-api ) 甚至使用 ruby​​-agent 高级功能来处理它( https://newrelic.com/docs/ruby/ruby-agent-api )

于 2013-07-07T18:44:37.117 回答