We are trying to remove or reduce our Application Insights DEPENDENCY logs.
Background: We have a DXP hosted instance of EpiServer. Our custom log entries only appear in application insights intermittently, this seems to be down to throttling and downsampling due to the sheer volume of entries. The biggest culprit seem to be the DEPENDENCY type logs i.e. our mostly idle dev instance has 355K of these log entries per day, and our prod instance has about 1.05M per day. Most of these are meaningless SQL command logs.
Things we have tried so far:
We've edited the ApplicationInsights.config and removed HttpDependenciesParsingTelemetryInitializer from the TelemetryInitializers
We've edited the ApplicationInsights.config and removed DependencyTrackingTelemetryModule from the TelemetryModules
We eventually solved this. The custom ITelemetryProcessor worked once we moved the initialisation from ConfigureServices in Startup.cs to Application_Start in Global.asax instead. I think maybe this allows it to be initiliased earlier in the lifecycle.
Hi,
We are trying to remove or reduce our Application Insights DEPENDENCY logs.
Background: We have a DXP hosted instance of EpiServer. Our custom log entries only appear in application insights intermittently, this seems to be down to throttling and downsampling due to the sheer volume of entries. The biggest culprit seem to be the DEPENDENCY type logs i.e. our mostly idle dev instance has 355K of these log entries per day, and our prod instance has about 1.05M per day. Most of these are meaningless SQL command logs.
Things we have tried so far:
(I notice in the debugger that this only hits for Trace logs, but not the DEPENDENCY ones)
(this removes all custom log entries. however the DEPENDENCY TCP SQL logs still remain!)
Any advise or suggestions of how to remove these DEPENDENCY logs from being logged would be appreciated
Thanks,
Ivan