Disable not working metric.

This commit is contained in:
2025-09-10 19:02:44 +01:00
parent 61c962d4c4
commit 5453506737

View File

@@ -124,13 +124,6 @@ builder.Services.AddOpenTelemetry()
.AddHttpClientInstrumentation()
.AddRuntimeInstrumentation()
.AddProcessInstrumentation()
.AddEventCountersInstrumentation(options =>
{
options.AddEventSources(
"System.Runtime",
"Microsoft.AspNetCore.Hosting",
"Microsoft-AspNetCore-Server-Kestrel");
})
.AddPrometheusExporter());
builder.WebHost.UseSentry(o =>