Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Suppressing Application Insights telemetry on an ASP.NET web applications
// **********************************************
// Fore more information, visit:
// https://blog.hildenco.com/2020/02/suppressing-application-insights.html
// **********************************************
// add this on your Global.asax
var builder = TelemetryConfiguration.Active.DefaultTelemetrySink.TelemetryProcessorChainBuilder;
builder.Use((next) => new SuppressFaviconFilter(next));
builder.Build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment