public static IApplicationInsightsBuilder AddPathFilter(this IApplicationInsightsBuilder builder) => builder.AddTelemetryProcessor <IgnorePathsFilter>();
public static IApplicationInsightsBuilder AddTelemetryProcessor <T>(this IApplicationInsightsBuilder builder) where T : ITelemetryProcessor { builder.Builder.Services.AddApplicationInsightsTelemetryProcessor <T>(); return(builder); }