diff --git a/src/Backend/Geen.Web/Startup.cs b/src/Backend/Geen.Web/Startup.cs index e32b722..dfb8f24 100644 --- a/src/Backend/Geen.Web/Startup.cs +++ b/src/Backend/Geen.Web/Startup.cs @@ -62,9 +62,12 @@ public void ConfigureServices(IServiceCollection services) .AddHttpClientInstrumentation() .AddAspNetCoreInstrumentation(); + var uri = new Uri(settings.Tracing.Jaeger.Endpoint); + builder.AddJaegerExporter(exporter => { - exporter.Endpoint = new Uri(settings.Tracing.Jaeger.Endpoint); + exporter.AgentHost = uri.Host; + exporter.Endpoint = uri; }); }); diff --git a/src/Backend/Geen.Web/appsettings.json b/src/Backend/Geen.Web/appsettings.json index 01585c6..cabc7ae 100644 --- a/src/Backend/Geen.Web/appsettings.json +++ b/src/Backend/Geen.Web/appsettings.json @@ -13,7 +13,7 @@ }, "Tracing": { "Jaeger": { - "Endpoint": "http://zoxexivo.com:14268" + "Endpoint": "http://172.17.0.1:14268" } } },