From 74dbb01c74c6efd12a471f09ca62bc8c67ca75e5 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Thu, 2 Nov 2023 12:29:48 +0800 Subject: [PATCH] Restore disabled counter --- .../AspireEFPostgreSqlExtensions.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Components/Aspire.Npgsql.EntityFrameworkCore.PostgreSQL/AspireEFPostgreSqlExtensions.cs b/src/Components/Aspire.Npgsql.EntityFrameworkCore.PostgreSQL/AspireEFPostgreSqlExtensions.cs index 455c015423..6bb9e9c108 100644 --- a/src/Components/Aspire.Npgsql.EntityFrameworkCore.PostgreSQL/AspireEFPostgreSqlExtensions.cs +++ b/src/Components/Aspire.Npgsql.EntityFrameworkCore.PostgreSQL/AspireEFPostgreSqlExtensions.cs @@ -124,9 +124,6 @@ public static partial class AspireEFPostgreSqlExtensions // https://github.com/npgsql/npgsql/blob/4c9921de2dfb48fb5a488787fc7422add3553f50/src/Npgsql/MetricsReporter.cs#L48 meterProviderBuilder.AddMeter("Npgsql"); - - // disable "prepared_ratio" until https://github.com/dotnet/aspire/issues/629 is fixed. - meterProviderBuilder.AddView(instrumentName: "db.client.commands.prepared_ratio", MetricStreamConfiguration.Drop); }); }