mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(api): disable some expensive AppInsights logging
This commit is contained in:
parent
28fc41e506
commit
82dbd2e5bf
1 changed files with 3 additions and 3 deletions
|
|
@ -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 =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue