Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Patrice Chalin <[email protected]>
  • Loading branch information
svrnm and chalin authored Nov 8, 2023
1 parent 7b3c7ad commit 70d2249
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions content/en/docs/instrumentation/net/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ that will generate the telemetry, and set them up.

1. Add the packages

```shell
dotnet add package OpenTelemetry.Extensions.Hosting
dotnet add package OpenTelemetry.Instrumentation.AspNetCore --prerelease
dotnet add package OpenTelemetry.Exporter.Console
```
```shell
dotnet add package OpenTelemetry.Extensions.Hosting
dotnet add package OpenTelemetry.Instrumentation.AspNetCore --prerelease
dotnet add package OpenTelemetry.Exporter.Console
```

1. Setup the OpenTelemetry code

Expand Down Expand Up @@ -158,7 +158,7 @@ var app = builder.Build();
<summary>Traces and Logs</summary>
```log
ogRecord.Timestamp: 2023-10-23T12:13:30.2704325Z
LogRecord.Timestamp: 2023-10-23T12:13:30.2704325Z
LogRecord.TraceId: 324333ec3bbca04ba7f4be4bf3618cb1
LogRecord.SpanId: e7d3814e31e504eb
LogRecord.TraceFlags: Recorded
Expand Down Expand Up @@ -191,7 +191,7 @@ Activity.Tags:
http.method: GET
http.scheme: http
http.target: /rolldice
http.url: http://127.0.0.1:5197/rolldice
http.url: http://127.0.0.1:8080/rolldice
http.flavor: 1.1
http.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (HTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.61
http.status_code: 200
Expand Down

0 comments on commit 70d2249

Please sign in to comment.