You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>Addingaprocessorbyusing `ApplicationInsights.config` or `TelemetryConfiguration.Active` isn'tvalidforASP.NETCoreapplicationsorifyou'reusingtheMicrosoft.ApplicationInsights.WorkerServiceSDK.
@@ -134,6 +132,8 @@ To filter telemetry, you write a telemetry processor and register it with `Telem
134
132
```
135
133
136
134
ToregistertelemetryprocessorsthatneedparametersinASP.NETCore, createacustomclassimplementing **ITelemetryProcessorFactory**. Call the constructor with the desired parameters in the **Create** method and then use **AddSingleton<ITelemetryProcessorFactory, MyTelemetryProcessorFactory>()**.
> Adding an initializer by using `ApplicationInsights.config` or `TelemetryConfiguration.Active` isn't valid for ASP.NET Core applications or if you're using the Microsoft.ApplicationInsights.WorkerServiceSDK.
@@ -317,6 +317,9 @@ public void ConfigureServices(IServiceCollection services)
Insert a JavaScript telemetry initializer, ifneeded. For more information on the telemetry initializers for the Application Insights JavaScript SDK, see [Telemetry initializers](https://github.com/microsoft/ApplicationInsights-JS#telemetry-initializers).
0 commit comments