Skip to content

Commit 4a1f21b

Browse files
committed
add screenshots
Signed-off-by: Hannah Hunter <[email protected]>
1 parent cd0cb36 commit 4a1f21b

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed
62.5 KB
Loading
45.7 KB
Loading
67.2 KB
Loading

articles/azure-monitor/insights/set-up-code-optimizations.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,14 @@ Before enabling Code Optimizations for your web app, you need to ensure that it'
3131

3232
- **If your web app is already connected to an Application Insights resource:**
3333
- A banner at the top of the blade will read **Your app is connected to Application Insights resource: {NAME-OF-RESOURCE}**.
34+
35+
:::image type="content" source="media/set-up-code-optimizations/already-enabled-app-insights.png" alt-text="Screenshot of the banner explaining that your app is already connected to App Insights.":::
36+
3437
- **If your web app still needs to be connected to an Application Insights resource:**
3538
- A banner at the top of the blade will read **Your app will be connected to an auto-created Application Insights resource: {NAME-OF-RESOURCE}**.
3639

40+
:::image type="content" source="media/set-up-code-optimizations/need-to-enable-app-insights.png" alt-text="Screenshot of the banner telling you to enable App Insights and the name of the App Insights resource.":::
41+
3742
1. Click **Apply** at the bottom of the Application Insights pane.
3843

3944
## Enable Profiler on your web app
@@ -42,6 +47,9 @@ Profiler collects traces on your web app for Code Optimizations to analyze. In a
4247

4348
1. Still in the Application Insights blade, under **Instrument your application**, select the **.NET** tab.
4449
1. Under **Profiler**, select the toggle to turn Profiler on for your web app.
50+
51+
:::image type="content" source="media/set-up-code-optimizations/enable-profiler.png" alt-text="Screenshot of how to enable Profiler for your web app.":::
52+
4553
1. Verify the Profiler is collecting traces.
4654
1. Navigate to your Application Insights resource.
4755
1. From the left menu, select **Investigate** > **Performance**.

0 commit comments

Comments
 (0)