diff --git a/src/dotnet/App.Server/Module/AppServerModule.cs b/src/dotnet/App.Server/Module/AppServerModule.cs index 615b6066dd..5db62305a5 100644 --- a/src/dotnet/App.Server/Module/AppServerModule.cs +++ b/src/dotnet/App.Server/Module/AppServerModule.cs @@ -240,7 +240,7 @@ protected override void InjectServices(IServiceCollection services) services.AddSingleton(); var openTelemetryEndpoint = Settings.OpenTelemetryEndpoint; if (openTelemetryEndpoint.IsNullOrEmpty()) - return; + openTelemetryEndpoint = "localhost"; var (host, port) = openTelemetryEndpoint.ParseHostPort(4317); var openTelemetryEndpointUri = $"http://{host}:{port.Format()}".ToUri();