Skip to content

Commit bc9d82e

Browse files
authored
Merge pull request #194161 from cijothomas/revert-193426-aaronmax-aspnetcore-faq-update
Revert "[AppInsights][AaronMax] sampling update for faq"
2 parents c763efd + 730367d commit bc9d82e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

articles/azure-monitor/app/asp-net-core.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -477,10 +477,6 @@ It's important to note that the following example doesn't cause the ApplicationI
477477

478478
For more information, see [ILogger configuration](ilogger.md#logging-level).
479479

480-
### How can I get all custom ILogger error messages?
481-
482-
Disable adaptive sampling. Examples of how to do this are provided in [Configure the Application Insights SDK](#configure-the-application-insights-sdk) section of this article.
483-
484480
### Some Visual Studio templates used the UseApplicationInsights() extension method on IWebHostBuilder to enable Application Insights. Is this usage still valid?
485481

486482
The extension method `UseApplicationInsights()` is still supported, but it's marked as obsolete in Application Insights SDK version 2.8.0 and later. It will be removed in the next major version of the SDK. To enable Application Insights telemetry, we recommend using `AddApplicationInsightsTelemetry()` because it provides overloads to control some configuration. Also, in ASP.NET Core 3.X apps, `services.AddApplicationInsightsTelemetry()` is the only way to enable Application Insights.

0 commit comments

Comments
 (0)