refactor: disable HttpClientInstrumentation

This commit is contained in:
Collin Barrett 2025-08-19 18:32:12 -05:00 committed by Collin Barrett
parent fd80946856
commit 3ab22a550e

View file

@ -55,8 +55,8 @@ public static TBuilder ConfigureOpenTelemetry<TBuilder>(this TBuilder builder)
builder.Services.AddOpenTelemetry()
.WithMetrics(metrics =>
{
metrics.AddAspNetCoreInstrumentation()
.AddHttpClientInstrumentation();
metrics.AddAspNetCoreInstrumentation();
//.AddHttpClientInstrumentation() // increases App Insights bill
//.AddRuntimeInstrumentation(); // increases App Insights bill
})
.WithTracing(tracing =>