Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ZOXEXIVO committed Dec 12, 2022
1 parent 94f5ebe commit bfdb98d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/Backend/Geen.Web/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
});

Expand Down
2 changes: 1 addition & 1 deletion src/Backend/Geen.Web/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"Tracing": {
"Jaeger": {
"Endpoint": "http://zoxexivo.com:14268"
"Endpoint": "http://172.17.0.1:14268"
}
}
},
Expand Down

0 comments on commit bfdb98d

Please sign in to comment.