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/tutorial-asp-net-custom-metrics.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,37 +111,37 @@ To send metrics to Application Insights, you can use the `TrackMetric(..)` API.
111
111
112
112
4. Right-click the **AzureCafe** project in Solution Explorer and select **Publish** from the context menu.
113
113
114
-

114
+

115
115
116
116
5. Select **Publish** to promote the new code to the Azure App Service.
117
117
118
-

118
+

119
119
120
120
6. Once the publish has succeeded, a new browser window opens to the Azure Cafe web application.
121
121
122
-

122
+

123
123
124
124
7. Perform various activities in the web application to generate some telemetry.
125
125
126
126
1. Select **Details** next to a Cafe to view its menu and reviews.
127
127
128
-

128
+

129
129
130
130
2. On the Cafe screen, select the **Reviews** tab to view and add reviews. Select the **Add review** button to add a review.
131
131
132
-

132
+

133
133
134
134
3. On the Create a review dialog, enter a name, rating, comments, and upload a photo for the review. Once completed, select **Add review**.
135
135
136
-

136
+

137
137
138
138
4. Repeat adding reviews as desired to generate more telemetry.
139
139
140
140
### View metrics in Application Insights
141
141
142
142
1. Go to the **Application Insights** resource in the [Azure portal](https://portal.azure.com).
143
143
144
-

144
+
:::image type="content" source="media/tutorial-asp-net-custom-metrics/application-insights-resource-group.png" alt-text="A resource group displays with the Application Insights resource highlighted." lightbox="media/tutorial-asp-net-custom-metrics/application-insights-resource-group.png":::
145
145
146
146
2. From the left menu of the Application Insights resource, select **Logs** from beneath the **Monitoring** section. In the **Tables** pane, double-click on the **customMetrics** table, located under the **Application Insights** tree. Modify the query to retrieve metrics for the **ReviewPerformed** custom named metric as follows, then select **Run** to filter the results.
147
147
@@ -176,37 +176,37 @@ When running the sample code, you'll see that no telemetry is being sent from th
176
176
177
177
4. Right-click the **AzureCafe** project in Solution Explorer and select **Publish** from the context menu.
178
178
179
-

179
+

180
180
181
181
5. Select **Publish** to promote the new code to the Azure App Service.
182
182
183
-

183
+

184
184
185
185
6. Once the publish has succeeded, a new browser window opens to the Azure Cafe web application.
186
186
187
-

187
+

188
188
189
189
7. Perform various activities in the web application to generate some telemetry.
190
190
191
191
1. Select **Details** next to a Cafe to view its menu and reviews.
192
192
193
-

193
+

194
194
195
195
2. On the Cafe screen, select the **Reviews** tab to view and add reviews. Select the **Add review** button to add a review.
196
196
197
-

197
+

198
198
199
199
3. On the Create a review dialog, enter a name, rating, comments, and upload a photo for the review. Once completed, select **Add review**.
200
200
201
-

201
+

202
202
203
203
4. Repeat adding reviews as desired to generate more telemetry.
204
204
205
205
### View metrics in Application Insights
206
206
207
207
1. Go to the **Application Insights** resource in the [Azure portal](https://portal.azure.com).
208
208
209
-

209
+

210
210
211
211
2. From the left menu of the Application Insights resource, select **Logs** from beneath the **Monitoring** section. In the **Tables** pane, double-click on the **customMetrics** table, located under the **Application Insights** tree. Modify the query to retrieve metrics for the **ReviewPerformed** custom named metric as follows, then select **Run** to filter the results.
212
212
@@ -276,37 +276,37 @@ Once you have made that change and send new multi-dimensional telemetry, you'll

279
+

5. However, you'll notice that you aren'tabletosplitthemetricbyyournewcustomdimension, orviewyourcustomdimensionwiththemetricsview. Select**ApplySplitting**.
0 commit comments