Luke M Willis Luke M Willis - 1 year ago 147
ASP.NET (C#) Question

How to manually push errors to NewRelic in .NET

This question covers how to manually notice errors in NewRelic in Ruby.

I need to do the same thing in C#.

How can I manually send errors to NewRelic in .NET?

Answer Source

According to NewRelic's .NET Api, you can do this with


where ex is an Exception.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download