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/eventcounters.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,8 @@ The following example shows how to add/remove counters. This customization would
96
96
97
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.
98
98
99
-

99
+
> [!div class="mx-imgBorder"]
100
+
> 
100
101
101
102
## Event counters in Analytics
102
103
@@ -108,7 +109,8 @@ For example, run the following query to see what counters are collected and avai
108
109
performanceCounters | summarize avg(value) by name
109
110
```
110
111
111
-

112
+
> [!div class="mx-imgBorder"]
113
+
> 
112
114
113
115
To get a chart of a specific counter (for example: `ThreadPool Completed Work Item Count`) over the recent period, run the following query.
114
116
@@ -119,8 +121,8 @@ performanceCounters
119
121
| summarize avg(value) by cloud_RoleInstance, bin(timestamp, 1m)
120
122
| render timechart
121
123
```
122
-
123
-

124
+
> [!div class="mx-imgBorder"]
125
+
> 
124
126
125
127
Like other telemetry, **performanceCounters** also has a column `cloud_RoleInstance` that indicates the identity of the host server instance on which your app is running. The above query shows the counter value per instance, and can be used to compare performance of different server instances.
0 commit comments