refactor(api): re-enable some instrumentation

This commit is contained in:
Collin Barrett 2025-06-08 13:07:16 -05:00 committed by Collin Barrett
parent 33bb55d870
commit 56de578620

View file

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