diff --git a/Server/Program.cs b/Server/Program.cs index 28b4052..20d2db2 100644 --- a/Server/Program.cs +++ b/Server/Program.cs @@ -46,8 +46,13 @@ builder.Services.AddOpenTelemetry() tracing.SetSampler(new AlwaysOnSampler()); tracing.AddMassTransitInstrumentation(); tracing.AddEntityFrameworkCoreInstrumentation(options => options.SetDbStatementForText = true); + tracing.AddHttpClientInstrumentation(); }) - .WithMetrics(metrics => { metrics.AddRuntimeInstrumentation(); }); + .WithMetrics(metrics => + { + metrics.AddRuntimeInstrumentation(); + metrics.AddHttpClientInstrumentation(); + }); builder.Logging.AddOpenTelemetry(logging => { diff --git a/Server/Server.csproj b/Server/Server.csproj index 751b77c..bc71d9c 100644 --- a/Server/Server.csproj +++ b/Server/Server.csproj @@ -94,6 +94,7 @@ +