Skip to content

Commit 93437f6

Browse files
author
Kai Nawroth
authored
Update profiler-containers.md
1 parent c60ff63 commit 93437f6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ In this article, you'll learn the various ways you can:
3333
git clone https://github.com/microsoft/ApplicationInsights-Profiler-AspNetCore.git
3434
```
3535

36-
2. Navigate to the Container App example:
36+
1. Navigate to the Container App example:
3737

3838
```bash
3939
cd examples/EnableServiceProfilerForContainerAppNet6
4040
```
4141

42-
3. This example is a bare bone project created by calling the following CLI command:
42+
1. This example is a bare bone project created by calling the following CLI command:
4343

4444
```powershell
4545
dotnet new mvc -n EnableServiceProfilerForContainerApp
@@ -62,13 +62,13 @@ In this article, you'll learn the various ways you can:
6262
}
6363
```
6464
65-
4. Add the NuGet package to collect the Profiler traces:
65+
1. Add the NuGet package to collect the Profiler traces:
6666
6767
```console
6868
dotnet add package Microsoft.ApplicationInsights.Profiler.AspNetCore
6969
```
7070
71-
5. Enable Application Insights and Profiler:
71+
1. Enable Application Insights and Profiler:
7272
7373
### [ASP.NET Core 6 and later](#tab/net-core-new)
7474
@@ -107,7 +107,7 @@ In this article, you'll learn the various ways you can:
107107
cd examples/EnableServiceProfilerForContainerAppNet6
108108
```
109109
110-
2. Pull the latest ASP.NET Core images
110+
1. Pull the latest ASP.NET Core images
111111
112112
```shell
113113
docker pull mcr.microsoft.com/dotnet/sdk:6.0
@@ -123,7 +123,7 @@ In this article, you'll learn the various ways you can:
123123
124124
:::image type="content" source="./media/profiler-containerinstances/application-insights-key.png" alt-text="Screenshot of finding instrumentation key in Azure portal.":::
125125
126-
2. Open `appsettings.json` and add your Application Insights instrumentation key to this code section:
126+
1. Open `appsettings.json` and add your Application Insights instrumentation key to this code section:
127127
128128
```json
129129
{
@@ -138,13 +138,13 @@ In this article, you'll learn the various ways you can:
138138
139139
1. Review the `Dockerfile`.
140140
141-
2. Build the example image:
141+
1. Build the example image:
142142
143143
```bash
144144
docker build -t profilerapp .
145145
```
146146
147-
3. Run the container:
147+
1. Run the container:
148148
149149
```bash
150150
docker run -d -p 8080:80 --name testapp profilerapp
@@ -182,8 +182,8 @@ Service Profiler session finished. # A profiling session is complet
182182
## View the Service Profiler traces
183183
184184
1. Wait for 2-5 minutes so the events can be aggregated to Application Insights.
185-
2. Open the **Performance** blade in your Application Insights resource.
186-
3. Once the trace process is complete, you'll see the Profiler Traces button like it below:
185+
1. Open the **Performance** blade in your Application Insights resource.
186+
1. Once the trace process is complete, you'll see the Profiler Traces button like it below:
187187

188188
:::image type="content" source="./media/profiler-containerinstances/profiler-traces.png" alt-text="Screenshot of Profile traces in the performance blade.":::
189189

0 commit comments

Comments
 (0)