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: learn-pr/aspnetcore/implement-observability-cloud-native-app-with-opentelemetry/includes/4-exercise-add-observability-cloud-native-app.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ To use **Visual Studio Code**, clone the [https://github.com/MicrosoftDocs/mslea
21
21
22
22
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.
23
23
24
-
1. In the Visual Studio Code command palette, enter **>.NET: Open Solution**.
24
+
1. In the Codespace command palette, enter **>.NET: Open Solution**.
Copy file name to clipboardExpand all lines: learn-pr/aspnetcore/implement-observability-cloud-native-app-with-opentelemetry/includes/6-exercise-use-opentelemetry-data-cloud-native-application.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ In this exercise, you get better visibility of all the data generated by OpenTel
4
4
5
5
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.
6
6
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.
8
8
1. Add this YAML to the bottom of the file:
9
9
10
10
```yml
@@ -38,7 +38,7 @@ The preceding Docker yaml adds two new services, **Prometheus** and **Grafana**.
38
38
39
39
Prometheus needs to be configured so that it knows where to collect the metrics. You add a *prometheus.yml* file to the *prometheus* folder.
40
40
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**.
42
42
1. In the name field, enter **prometheus**.
43
43
1. On the **EXPLORER** pane, right-click the *prometheus* folder, and then select **New File**.
44
44
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.
65
65
66
66
Grafana needs to be configured so that it knows where to collect the metrics.
67
67
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**.
69
69
1. In the name field, enter **grafana**.
70
70
1. Right-click the *grafana* folder, and then select **New Folder**.
71
71
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.
95
95
96
96
Now, the diagnostics project is only configured to expose metrics to the console. You update the project to expose metrics to Prometheus instead.
97
97
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.
99
99
100
100
1. Run this command:
101
101
@@ -223,7 +223,7 @@ You now test the new observability features you added to the app.
223
223
224
224
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.
225
225
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.
227
227
228
228
1. Add `prometheus` and `zipkin` in the `depends_on` for the `frontend`.
229
229
@@ -358,7 +358,7 @@ The last step is to add Application Insights to your app.
358
358
359
359
### Create the Application Insights resource in Azure
360
360
361
-
1. In Visual Studio Code, on the **TERMINAL** pane, sign in to Azure.
361
+
1. On the **TERMINAL** pane, sign in to Azure.
362
362
363
363
```azurecli
364
364
az login --use-device-code
@@ -423,7 +423,7 @@ The last step is to add Application Insights to your app.
Copy file name to clipboardExpand all lines: learn-pr/aspnetcore/implement-observability-cloud-native-app-with-opentelemetry/includes/7-exercise-extend-telemetry.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ In this exercise, you add new metrics to apps and see how to view them in your o
6
6
7
7
You want to have greater visibility of how a stock changes over time, so you create a custom metric.
8
8
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**.
10
10
11
11
1. In the **File name** field, enter **ProductsMetrics.cs**.
0 commit comments