Skip to content

Commit d75feff

Browse files
committed
Line edits5
1 parent 67b340a commit d75feff

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

learn-pr/aspnetcore/implement-observability-cloud-native-app-with-opentelemetry/includes/4-exercise-add-observability-cloud-native-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To use **Visual Studio Code**, clone the [https://github.com/MicrosoftDocs/mslea
2121

2222
The first step to adding observability to the **:::no-loc text="eShopLite":::** app is to introduce a new diagnostic project to the solution. This project contains all the OpenTelemetry packages and configurations that you'll use to add observability to the app.
2323

24-
1. In the Visual Studio Code command palette, enter **>.NET: Open Solution**.
24+
1. In the Codespace command palette, enter **>.NET: Open Solution**.
2525
1. Select **dotnet-observability/eShopLite/eShopLite.sln**.
2626
1. In the **Solution Explorer**, at the bottom of the **EXPLORER** pane, right-click the **eShopLite** solution, and then select **New Project**.
2727
1. In the **Select a template to create a new .NET project** dialog, select **Class Library (Common, Library)**.
@@ -32,7 +32,7 @@ The first step to adding observability to the **:::no-loc text="eShopLite":::**
3232

3333
Now add the OpenTelemetry packages to the new diagnostic project.
3434

35-
1. By using the **TERMINAL** pane at the bottom of Visual Studio Code, go to the *Diagnostics* project folder:
35+
1. By using the **TERMINAL** pane at the bottom of Codespace, go to the *Diagnostics* project folder:
3636

3737
```bash
3838
cd dotnet-observability/eShopLite/Diagnostics

learn-pr/aspnetcore/implement-observability-cloud-native-app-with-opentelemetry/includes/6-exercise-use-opentelemetry-data-cloud-native-application.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this exercise, you get better visibility of all the data generated by OpenTel
44

55
Prometheus and Grafana provide Docker images that make it easy to add them to your projects. You include them in the *docker-compose.yml* file, in the root of the solution.
66

7-
1. In Visual Studio Code, on the **EXPLORER** pane, select the *docker-compose.yml* file.
7+
1. On the **EXPLORER** pane, select the *docker-compose.yml* file.
88
1. Add this YAML to the bottom of the file:
99

1010
```yml
@@ -38,7 +38,7 @@ The preceding Docker yaml adds two new services, **Prometheus** and **Grafana**.
3838
3939
Prometheus needs to be configured so that it knows where to collect the metrics. You add a *prometheus.yml* file to the *prometheus* folder.
4040
41-
1. In Visual Studio Code, on the **EXPLORER** pane, right-click the *dotnet-observability* folder, and then select **New Folder**.
41+
1. On the **EXPLORER** pane, right-click the *dotnet-observability* folder, and then select **New Folder**.
4242
1. In the name field, enter **prometheus**.
4343
1. On the **EXPLORER** pane, right-click the *prometheus* folder, and then select **New File**.
4444
1. In the name field, enter **prometheus.yml**.
@@ -65,7 +65,7 @@ Prometheus needs to be configured so that it knows where to collect the metrics.
6565
6666
Grafana needs to be configured so that it knows where to collect the metrics.
6767
68-
1. In Visual Studio Code, on the **EXPLORER** pane, right-click the *dotnet-observability* folder and then select **New Folder**.
68+
1. On the **EXPLORER** pane, right-click the *dotnet-observability* folder and then select **New Folder**.
6969
1. In the name field, enter **grafana**.
7070
1. Right-click the *grafana* folder, and then select **New Folder**.
7171
1. In the name field, enter **datasource**.
@@ -95,7 +95,7 @@ Grafana needs to be configured so that it knows where to collect the metrics.
9595
9696
Now, the diagnostics project is only configured to expose metrics to the console. You update the project to expose metrics to Prometheus instead.
9797
98-
1. In Visual Studio Code, on the **TERMINAL** pane at the bottom, go to the *Diagnostics* folder.
98+
1. On the **TERMINAL** pane at the bottom, go to the *Diagnostics* folder.
9999
100100
1. Run this command:
101101
@@ -223,7 +223,7 @@ You now test the new observability features you added to the app.
223223

224224
You now extend the tracing capabilities of the app by adding Zipkin. As you did before, you add a Zipkin container to your app, and configure it to connect to the OpenTelemetry collector. Then you add the OpenTelemetry Zipkin exporter to your app.
225225

226-
1. In Visual Studio Code, on the **EXPLORER** pane, select the *docker-compose.yml* file inside the *dotnet-observability* folder.
226+
1. On the **EXPLORER** pane, select the *docker-compose.yml* file inside the *dotnet-observability* folder.
227227

228228
1. Add `prometheus` and `zipkin` in the `depends_on` for the `frontend`.
229229

@@ -358,7 +358,7 @@ The last step is to add Application Insights to your app.
358358

359359
### Create the Application Insights resource in Azure
360360

361-
1. In Visual Studio Code, on the **TERMINAL** pane, sign in to Azure.
361+
1. On the **TERMINAL** pane, sign in to Azure.
362362

363363
```azurecli
364364
az login --use-device-code
@@ -423,7 +423,7 @@ The last step is to add Application Insights to your app.
423423

424424
`InstrumentationKey=b851fa75-85a2-42f7-bb6f-413725d9d8ba;IngestionEndpoint=https://eastus-2.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/`
425425

426-
1. In Visual Studio Code, on the **EXPLORER** pane, select the *docker-compose.yml* file.
426+
1. On the **EXPLORER** pane, select the *docker-compose.yml* file.
427427
1. You add an environment variable that the diagnostics project uses to connect to Application Insights. Add this YAML to the **Store** service:
428428

429429
```yml

learn-pr/aspnetcore/implement-observability-cloud-native-app-with-opentelemetry/includes/7-exercise-extend-telemetry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In this exercise, you add new metrics to apps and see how to view them in your o
66

77
You want to have greater visibility of how a stock changes over time, so you create a custom metric.
88

9-
1. In Visual Studio Code, on the **EXPLORER** pane, right-click the *Products* folder and then select **New File**.
9+
1. On the **EXPLORER** pane, right-click the *Products* folder and then select **New File**.
1010

1111
1. In the **File name** field, enter **ProductsMetrics.cs**.
1212

0 commit comments

Comments
 (0)