Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
This is a proof of concept (read: not tested yet) Owin module that one could configure in an Owin pipeline to ensure that NewRelic will ignore the transaction.
public class NewRelicIgnoreTransactionOwinModule
private AppFunc _nextAppFunc;
public NewRelicIgnoreTransactionOwinModule(AppFunc nextAppFunc)
_nextAppFunc = nextAppFunc;
public Task Invoke(IDictionary<string, object> environment)
// Tell NewRelic to ignore this particular transaction
return _nextAppFunc(environment);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment