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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,11 +146,11 @@ Support for [performance counters](https://azure.microsoft.com/documentation/art
146
146
147
147
### ILogger logs
148
148
149
-
[ILogger logs](https://docs.microsoft.com/azure/azure-monitor/app/ilogger) of severity `Warning` or greater are automatically captured in SDK versions 2.7.0-beta3 and later.
149
+
Logs emitted via `ILogger` of severity `Warning` or greater are automatically captured. Follow [ILogger docs](ilogger.md#control-logging-level) to customize which log levels are captured by Application Insights.
150
150
151
151
### Live Metrics
152
152
153
-
It might take a few minutes before telemetry starts appearing in the portal. To quickly make sure everything is working, it's best to use [Live Metrics](https://docs.microsoft.com/azure/application-insights/app-insights-live-stream) when you make requests to the running application.
153
+
[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.
154
154
155
155
## Enable client-side telemetry for web applications
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/eventcounters.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ While users can publish any custom `EventCounters` to meet their needs, the .NET
21
21
22
22
## Using Application Insights to collect EventCounters
23
23
24
-
Application Insights supports collecting `EventCounters` with its `EventCounterCollectionModule`, which is part of the newly released nuget package [Microsoft.ApplicationInsights.EventCounterCollector](https://www.nuget.org/packages/Microsoft.ApplicationInsights.EventCounterCollector). `EventCounterCollectionModule` is automatically enabled when using either [AspNetCore](asp-net-core.md) or [WorkerService](worker-service.md) instructions. `EventCounterCollectionModule` collects counters with a non-configurable collection frequency of 60 seconds. There are no special permissions required to collect EventCounters.
24
+
Application Insights supports collecting `EventCounters` with its `EventCounterCollectionModule`, which is part of the newly released nuget package [Microsoft.ApplicationInsights.EventCounterCollector](https://www.nuget.org/packages/Microsoft.ApplicationInsights.EventCounterCollector). `EventCounterCollectionModule` is automatically enabled when using either [AspNetCore](asp-net-core.md) or [WorkerService](worker-service.md). `EventCounterCollectionModule` collects counters with a non-configurable collection frequency of 60 seconds. There are no special permissions required to collect EventCounters.
25
25
26
26
## Default counters collected
27
27
@@ -53,11 +53,12 @@ For apps running in .NET Core 3.0, the following set of counters are collected a
Note: Counters of category Microsoft.AspNetCore.Hosting are only added in Asp.Net Core Applications.
56
+
[!NOTE]
57
+
Counters of category Microsoft.AspNetCore.Hosting are only added in Asp.Net Core Applications.
57
58
58
59
## Customizing counters to be collected
59
60
60
-
The following example shows how to add/remove counters. This customization would be done in `ConfigureServices` of your application after application insights telemetry collection is enabled using either `AddApplicationInsightsTelemetry()` or `AddApplicationInsightsWorkerService()`. Following is an example code from an Asp.Net Core application. For other type of applications, refer to [this](worker-service.md#configuring-or-removing-default-telemetrymodules) document.
61
+
The following example shows how to add/remove counters. This customization would be done in the `ConfigureServices`method of your application after Application Insights telemetry collection is enabled using either `AddApplicationInsightsTelemetry()` or `AddApplicationInsightsWorkerService()`. Following is an example code from an ASP.NET Core application. For other type of applications, refer to [this](worker-service.md#configuring-or-removing-default-telemetrymodules) document.
@@ -95,7 +96,7 @@ The following example shows how to add/remove counters. This customization would
95
96
96
97
To view EventCounter metrics in [Metric Explorer](https://docs.microsoft.com/azure/azure-monitor/platform/metrics-charts), select Application Insights resource, and chose Log-based metrics as metric namespace. Then EventCounter metrics get displayed under PerformanceCounter category.
97
98
98
-

99
+

99
100
100
101
## Event counters in Analytics
101
102
@@ -126,6 +127,12 @@ Like other telemetry, **performanceCounters** also has a column `cloud_RoleInsta
126
127
## Alerts
127
128
Like other metrics, you can [set an alert](../../azure-monitor/app/alerts.md) to warn you if an event counter goes outside a limit you specify. Open the Alerts pane and click Add Alert.
128
129
130
+
## Frequently asked questions
131
+
132
+
### Can I see EventCounters in Live Metrics ?
133
+
134
+
No. Live Metrics do not show EventCounters as of today. Use Metric Explorer or Analytics to see the telemetry.
0 commit comments