Skip to content

Commit 46b02ff

Browse files
committed
fix blocking issues
1 parent 86f2fbb commit 46b02ff

File tree

3 files changed

+24
-20
lines changed

3 files changed

+24
-20
lines changed
125 KB
Loading

articles/azure-monitor/app/profiler-containers.md

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.author: hannahhunter
55
author: hhunter-ms
66
ms.contributor: charles.weininger
77
ms.topic: conceptual
8-
ms.date: 04/12/2022
8+
ms.date: 04/25/2022
99
---
1010

1111
# Profile live Azure containers with Application Insights
@@ -116,39 +116,42 @@ In this article, you'll learn the various ways you can:
116116
117117
## View the container via your browser
118118
119-
1. To hit the endpoint, either:
119+
To hit the endpoint, either:
120120
121-
- Visit [http://localhost:8080/weatherforecast](http://localhost:8080/weatherforecast) in your browser, or
122-
- Use curl:
121+
- Visit [http://localhost:8080/weatherforecast](http://localhost:8080/weatherforecast) in your browser, or
122+
- Use curl:
123123
124-
```terraform
125-
curl http://localhost:8080/weatherforecast
126-
```
124+
```terraform
125+
curl http://localhost:8080/weatherforecast
126+
```
127127
128128
129129
## Inspect the logs
130130
131-
1. Optionally, inspect the local log to see if a session of profiling finished:
131+
Optionally, inspect the local log to see if a session of profiling finished:
132132
133-
```bash
134-
docker logs testapp
135-
```
133+
```bash
134+
docker logs testapp
135+
```
136136
137-
In the local logs, note the following events:
137+
In the local logs, note the following events:
138138
139-
```output
140-
Starting application insights profiler with instrumentation key: your-instrumentation key # Double check the instrumentation key
141-
Service Profiler session started. # Profiler started.
142-
Finished calling trace uploader. Exit code: 0 # Uploader is called with exit code 0.
143-
Service Profiler session finished. # A profiling session is completed.
144-
```
139+
```output
140+
Starting application insights profiler with instrumentation key: your-instrumentation key # Double check the instrumentation key
141+
Service Profiler session started. # Profiler started.
142+
Finished calling trace uploader. Exit code: 0 # Uploader is called with exit code 0.
143+
Service Profiler session finished. # A profiling session is completed.
144+
```
145145
146146
## View the Service Profiler traces
147147
148148
1. Wait for 2-5 minutes so the events can be aggregated to Application Insights.
149149
1. Open the **Performance** blade in your Application Insights resource.
150150
1. Once the trace process is complete, you will see the Profiler Traces button like it below:
151151
152+
:::image type="content" source="./media/profiler-containerinstances/profiler_traces.png" alt-text="Find instrumentation key in Azure portal":::
153+
154+
152155
153156
## Clean up resources
154157

articles/azure-monitor/app/profiler-overview.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ ms.author: hannahhunter
55
author: hhunter-ms
66
ms.contributor: charles.weininger
77
ms.topic: conceptual
8-
ms.date: 04/12/2022
8+
ms.date: 04/25/2022
99
ms.reviewer: mbullwin
1010
---
1111

1212
# Profile production applications in Azure with Application Insights
13-
## Enable Application Insights Profiler for your application
1413

1514
Azure Application Insights Profiler provides performance traces for applications running in production in Azure. Profiler:
1615
- Captures the data automatically at scale without negatively affecting your users.
1716
- Helps you identify the “hot” code path spending the most time handling a particular web request.
1817

18+
## Enable Application Insights Profiler for your application
19+
1920
### Supported in Profiler
2021

2122
Profiler works with .NET applications deployed on the following Azure services. View specific instructions for enabling Profiler for each service type in the links below.

0 commit comments

Comments
 (0)