correctly extract uri from config for Jaeger
parent
d563d7732d
commit
4bde9a0882
|
@ -73,7 +73,7 @@ builder.Services.AddOpenTelemetryTracing(b =>
|
|||
.SetResourceBuilder(serviceResource)
|
||||
.AddJaegerExporter(o =>
|
||||
{
|
||||
o.Endpoint = builder.Configuration["Jaeger"]["Endpoint"];
|
||||
o.Endpoint = new Uri(builder.Configuration.GetSection("Jaeger").GetValue<string>("Endpoint"));
|
||||
})
|
||||
.AddAzureMonitorTraceExporter(o =>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue