Skip to content

Commit 730367d

Browse files
authored
Revert "[AppInsights][AaronMax] sampling update for faq"
1 parent 825e5ec commit 730367d

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
@@ -469,10 +469,6 @@ It's important to note that the following example doesn't cause the ApplicationI
469469

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

472-
### How can I get all custom ILogger error messages?
473-
474-
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.
475-
476472
### Some Visual Studio templates used the UseApplicationInsights() extension method on IWebHostBuilder to enable Application Insights. Is this usage still valid?
477473

478474
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)