Therefore remove previous OpenTelemetry configuration and use the one provided in service defaults
This commit is contained in:
14
src/Vegasco.Server.AppHost/Program.cs
Normal file
14
src/Vegasco.Server.AppHost/Program.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Vegasco.Server.AppHost.Shared;
|
||||
|
||||
var builder = DistributedApplication.CreateBuilder(args);
|
||||
|
||||
var postgres = builder.AddPostgres(Constants.Database.ServiceName)
|
||||
.WithDataVolume()
|
||||
.AddDatabase(Constants.Database.Name);
|
||||
|
||||
builder
|
||||
.AddProject<Projects.WebApi>(Constants.Projects.WebApiName)
|
||||
.WithReference(postgres)
|
||||
.WaitFor(postgres);
|
||||
|
||||
builder.Build().Run();
|
||||
Reference in New Issue
Block a user