diff --git a/examples/Example.Elastic.OpenTelemetry.AspNetCore/appsettings.json b/examples/Example.Elastic.OpenTelemetry.AspNetCore/appsettings.json
index f3af4af..6314868 100644
--- a/examples/Example.Elastic.OpenTelemetry.AspNetCore/appsettings.json
+++ b/examples/Example.Elastic.OpenTelemetry.AspNetCore/appsettings.json
@@ -12,5 +12,5 @@
}
},
"AllowedHosts": "*",
- "ServiceName": "elastic-otel-test-aspnetcore"
+ "ServiceName": "elastic-otel-example-aspnetcore"
}
diff --git a/examples/Example.Elastic.OpenTelemetry.Worker/Worker.cs b/examples/Example.Elastic.OpenTelemetry.Worker/Worker.cs
index 9eee4f2..d36f378 100644
--- a/examples/Example.Elastic.OpenTelemetry.Worker/Worker.cs
+++ b/examples/Example.Elastic.OpenTelemetry.Worker/Worker.cs
@@ -3,40 +3,39 @@
// See the LICENSE file in the project root for more information
using System.Diagnostics;
-namespace Example.Elastic.OpenTelemetry.Worker
+namespace Example.Elastic.OpenTelemetry.Worker;
+
+public class Worker : BackgroundService
{
- public class Worker : BackgroundService
- {
- private readonly ILogger