Luke M Willis Luke M Willis - 17 days ago 6
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?


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


where ex is an Exception.