microsoft / ApplicationInsights-Profiler-AspNetCore

Application Insights Profiler sample and documentation
MIT License
66 stars 22 forks source link

Reduce dependency logging for certain API calls #211

Closed j-zhong-ms closed 4 months ago

j-zhong-ms commented 4 months ago

Currently, /api/profileragent/v4/settings is logged every 10 seconds and it is unnecessary for troubleshooting purposes. It would be a better user experience if the dependency telemetry can be reduced or customized.

j-zhong-ms commented 4 months ago

Released a fix in 2.7.0-beta to filter out dependency calls to /api/profileragent/v4/settings in customer telemetry. https://www.nuget.org/packages/Microsoft.ApplicationInsights.Profiler.AspNetCore/2.7.0-beta1

A minimal version of Microsoft.ApplicationInsights.AspNetCore >=2.21.0 is required