Skip to content

Instantly share code, notes, and snippets.

Created January 29, 2017 17:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Helper class to configure Application Insights and our Telemetry Processor
using System.Configuration;
using Microsoft.ApplicationInsights.Extensibility;
namespace Samples.App_Start
public static class AppInsightsConfig
public static void RegisterAppInsights()
TelemetryConfiguration.Active.InstrumentationKey =
var builder = TelemetryConfiguration.Active.TelemetryProcessorChainBuilder;
builder.Use(next => new My404Filter(next));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment