refactor(api): disable some expensive AppInsights logging

This commit is contained in:
Collin Barrett 2025-06-05 20:39:48 -05:00 committed by Collin Barrett
parent 28fc41e506
commit 82dbd2e5bf

View file

@ -56,9 +56,9 @@ public static TBuilder ConfigureOpenTelemetry<TBuilder>(this TBuilder builder) w
builder.Services.AddOpenTelemetry()
.WithMetrics(metrics =>
{
metrics.AddAspNetCoreInstrumentation()
.AddHttpClientInstrumentation()
.AddRuntimeInstrumentation();
metrics.AddAspNetCoreInstrumentation();
// .AddHttpClientInstrumentation() // causing high-ish Log Analytics bills into customMetrics
// .AddRuntimeInstrumentation(); // causing high-ish Log Analytics bills into customMetrics
})
.WithTracing(tracing =>
{