Skip to content

Commit fc2c2ed

Browse files
Merge pull request #260026 from AaronMaxwell/aaronmax-otel-dotnetcore-events-2
Small fix to custom events code samples sections
2 parents 5155f32 + e11f3ef commit fc2c2ed

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/azure-monitor/app/opentelemetry-add-modify.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,9 +1384,9 @@ We recommend you use the OpenTelemetry APIs whenever possible, but there might b
13841384

13851385
##### Events
13861386

1387-
1. Add `Microsoft.ApplicationInsights` to your application:
1387+
1. Add `Microsoft.ApplicationInsights` to your application.
13881388

1389-
1. Create a `TelemetryClient` instance.
1389+
2. Create a `TelemetryClient` instance.
13901390

13911391
> [!NOTE]
13921392
> It's important to only create once instance of the TelemetryClient per application.
@@ -1396,7 +1396,7 @@ var telemetryConfiguration = new TelemetryConfiguration { ConnectionString = ""
13961396
var telemetryClient = new TelemetryClient(telemetryConfiguration);
13971397
```
13981398

1399-
1. Use the client to send custom telemetry.
1399+
3. Use the client to send custom telemetry.
14001400

14011401
```csharp
14021402
telemetryClient.TrackEvent("testEvent");
@@ -1406,9 +1406,9 @@ telemetryClient.TrackEvent("testEvent");
14061406

14071407
##### Events
14081408

1409-
1. Add `Microsoft.ApplicationInsights` to your application:
1409+
1. Add `Microsoft.ApplicationInsights` to your application.
14101410

1411-
1. Create a `TelemetryClient` instance.
1411+
2. Create a `TelemetryClient` instance.
14121412

14131413
> [!NOTE]
14141414
> It's important to only create once instance of the TelemetryClient per application.
@@ -1418,7 +1418,7 @@ var telemetryConfiguration = new TelemetryConfiguration { ConnectionString = ""
14181418
var telemetryClient = new TelemetryClient(telemetryConfiguration);
14191419
```
14201420

1421-
1. Use the client to send custom telemetry.
1421+
3. Use the client to send custom telemetry.
14221422

14231423
```csharp
14241424
telemetryClient.TrackEvent("testEvent");

0 commit comments

Comments
 (0)