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
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/asp-net-core.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ The [Application Insights SDK for ASP.NET Core](https://nuget.org/packages/Micro
28
28
***Deployment method**: Framework dependent or self-contained.
29
29
***Web server**: IIS (Internet Information Server) or Kestrel.
30
30
***Hosting platform**: The Web Apps feature of Azure App Service, Azure VM, Docker, Azure Kubernetes Service (AKS), and so on.
31
-
***.NET Core Runtime version**: 1.XX, 2.XX or 3.XX
31
+
***.NET Core Runtime version**: 1.XX, 2.XX, or 3.XX
32
32
***IDE**: Visual Studio, VS Code, or command line.
33
33
34
34
> [!NOTE]
@@ -124,7 +124,7 @@ Run your application and make requests to it. Telemetry should now flow to Appli
124
124
125
125
### Live Metrics
126
126
127
-
[Live Metrics](https://docs.microsoft.com/azure/application-insights/app-insights-live-stream) can be used to quickly verify if Application Insights is setup correctly. While it might take a few minutes before telemetry starts appearing in the portal and analytics, Live Metrics would show CPU usage of the running process in near real-time. It can also show other telemetry like Requests, Dependencies, Traces etc.
127
+
[Live Metrics](https://docs.microsoft.com/azure/application-insights/app-insights-live-stream) can be used to quickly verify if Application Insights monitoring is configured correctly. While it might take a few minutes before telemetry starts appearing in the portal and analytics, Live Metrics would show CPU usage of the running process in near real-time. It can also show other telemetry like Requests, Dependencies, Traces etc.
128
128
129
129
### ILogger logs
130
130
@@ -199,7 +199,7 @@ Full List of settings in `ApplicationInsightsServiceOptions`
|EnableHeartbeat | Enable/Disable Heartbeats feature, which periodically (15min default) sends a custom metric named 'HeartBeatState' with information about the runtime like .NET Version, Azure Environment information, if applicable, etc. | true
202
+
|EnableHeartbeat | Enable/Disable Heartbeats feature, which periodically (15-min default) sends a custom metric named 'HeartBeatState' with information about the runtime like .NET Version, Azure Environment information, if applicable, etc. | true
203
203
|AddAutoCollectedMetricExtractor | Enable/Disable AutoCollectedMetrics extractor, which is a TelemetryProcessor that sends pre-aggregated metrics about Requests/Dependencies before sampling takes place. | true
204
204
|RequestCollectionOptions.TrackExceptions | Enable/Disable reporting of unhandled Exception tracking by the Request collection module. | false in NETSTANDARD2.0 (because Exceptions are tracked with ApplicationInsightsLoggerProvider), true otherwise.
205
205
@@ -249,7 +249,7 @@ public void ConfigureServices(IServiceCollection services)
249
249
250
250
### Adding telemetry processors
251
251
252
-
You can add custom telemetry processors to `TelemetryConfiguration` by using the extension method `AddApplicationInsightsTelemetryProcessor` on `IServiceCollection`. You use telemetry processors in [advanced filtering scenarios](https://docs.microsoft.com/azure/azure-monitor/app/api-filtering-sampling#filtering-itelemetryprocessor) to allow for more direct control over what's included or excluded from the telemetry you send to the Application Insights service. Use the following example.
252
+
You can add custom telemetry processors to `TelemetryConfiguration` by using the extension method `AddApplicationInsightsTelemetryProcessor` on `IServiceCollection`. You use telemetry processors in [advanced filtering scenarios](https://docs.microsoft.com/azure/azure-monitor/app/api-filtering-sampling#filtering-itelemetryprocessor). Use the following example.
@@ -273,8 +273,8 @@ The following automatic-collection modules are enabled by default. These modules
273
273
*`DependencyTrackingTelemetryModule` - Collects DependencyTelemetry from outgoing http calls and sql calls.
274
274
*`PerformanceCollectorModule` - Collects Windows PerformanceCounters.
275
275
*`QuickPulseTelemetryModule` - Collects telemetry for showing in Live Metrics portal.
276
-
*`AppServicesHeartbeatTelemetryModule` - Collects heart beats (which are send as custom metrics), about Azure App Service environment where application is hosted.
277
-
*`AzureInstanceMetadataTelemetryModule` - Collects heart beats (which are send as custom metrics), about Azure VM environment where application is hosted.
276
+
*`AppServicesHeartbeatTelemetryModule` - Collects heart beats (which are sent as custom metrics), about Azure App Service environment where application is hosted.
277
+
*`AzureInstanceMetadataTelemetryModule` - Collects heart beats (which are sent as custom metrics), about Azure VM environment where application is hosted.
278
278
*`EventCounterCollectionModule` - Collects [EventCounters.](#eventcounter). This module is a new feature and is available in SDK Version 2.8.0 and higher.
279
279
280
280
To configure any default `TelemetryModule`, use the extension method `ConfigureTelemetryModule<T>` on `IServiceCollection`, as shown in the following example.
@@ -347,15 +347,15 @@ If you want to disable telemetry conditionally and dynamically, you may resolve
347
347
}
348
348
```
349
349
350
-
Note that the above does not prevent any auto collection modules from collecting telemetry. Only the sending of telemetry to Application Insights gets disabled with the above approach. If a particular auto collection module is not desired, its best to [remove the telemetry module](#configuring-or-removing-default-telemetrymodules)
350
+
The above does not prevent any auto collection modules from collecting telemetry. Only the sending of telemetry to Application Insights gets disabled with the above approach. If a particular auto collection module is not desired, it is best to [remove the telemetry module](#configuring-or-removing-default-telemetrymodules)
351
351
352
352
## Frequently asked questions
353
353
354
354
### Does Application Insights support ASP.NET Core 3.0?
355
355
356
356
Yes. Update to [Application Insights SDK for ASP.NET Core](https://nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore) version 2.8.0 or higher. Older versions of the SDK do not support ASP.NET Core 3.0.
357
357
358
-
Also, if you are using Visual Studio based instructions from [here](#enable-application-insights-server-side-telemetry-visual-studio), please update to the latest version of Visual Studio 2019 (16.3.0) to onboard. Previous versions of Visual Studio do not support automatic onboarding for ASP.NET Core 3.0 apps.
358
+
Also, if you are using Visual Studio based instructions from [here](#enable-application-insights-server-side-telemetry-visual-studio), update to the latest version of Visual Studio 2019 (16.3.0) to onboard. Previous versions of Visual Studio do not support automatic onboarding for ASP.NET Core 3.0 apps.
359
359
360
360
### How can I track telemetry that's not automatically collected?
361
361
@@ -388,7 +388,7 @@ For more information about custom data reporting in Application Insights, see [A
388
388
389
389
### Some Visual Studio templates used the UseApplicationInsights() extension method on IWebHostBuilder to enable Application Insights. Is this usage still valid?
### I'm deploying my ASP.NET Core application to Web Apps. Should I still enable the Application Insights extension from Web Apps?
394
394
@@ -437,7 +437,7 @@ using Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel;
437
437
438
438
### Is this SDK supported for the new .NET Core 3.0 Worker Service template applications?
439
439
440
-
This SDK requires `HttpContext`, and hence does not work in any non-httpapplications, includingthe .NETCore 3.0 WorkerServiceapplications. Referto [this](worker-service.md) documentforenablingapplicationinsightsinsuchapplications, usingthenewlyreleaseMicrosoft.ApplicationInsights.WorkerServiceSDK.
440
+
This SDK requires `HttpContext`, and hence does not work in any non-HTTPapplications, includingthe .NETCore 3.0 WorkerServiceapplications. Referto [this](worker-service.md) documentforenablingapplicationinsightsinsuchapplications, usingthenewlyreleaseMicrosoft.ApplicationInsights.WorkerServiceSDK.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/worker-service.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,7 +292,7 @@ The following lists the full telemetry automatically collected by Application In
292
292
293
293
### Live Metrics
294
294
295
-
[Live Metrics](https://docs.microsoft.com/azure/application-insights/app-insights-live-stream) can be used to quickly verify if Application Insights is setup correctly. While it might take a few minutes before telemetry starts appearing in the portal and analytics, Live Metrics would show CPU usage of the running process in near real-time. It can also show other telemetry like Requests, Dependencies, Traces etc.
295
+
[Live Metrics](https://docs.microsoft.com/azure/application-insights/app-insights-live-stream) can be used to quickly verify if Application Insights monitoring is configured correctly. While it might take a few minutes before telemetry starts appearing in the portal and analytics, Live Metrics would show CPU usage of the running process in near real-time. It can also show other telemetry like Requests, Dependencies, Traces etc.
0 commit comments