diff --git a/samples/Metrics/ServiceDefaults/Extensions.cs b/samples/Metrics/ServiceDefaults/Extensions.cs
index 022f785f..033a5858 100644
--- a/samples/Metrics/ServiceDefaults/Extensions.cs
+++ b/samples/Metrics/ServiceDefaults/Extensions.cs
@@ -68,8 +68,7 @@ private static IHostApplicationBuilder AddOpenTelemetryExporters(this IHostAppli
// The following lines enable the Prometheus exporter (requires the OpenTelemetry.Exporter.Prometheus.AspNetCore package)
builder.Services.AddOpenTelemetry()
- // BUG: Part of the workaround for https://github.com/open-telemetry/opentelemetry-dotnet-contrib/issues/1617
- .WithMetrics(metrics => metrics.AddPrometheusExporter(options => options.DisableTotalNameSuffixForCounters = true));
+ .WithMetrics(metrics => metrics.AddPrometheusExporter());
return builder;
}
diff --git a/samples/Metrics/ServiceDefaults/ServiceDefaults.csproj b/samples/Metrics/ServiceDefaults/ServiceDefaults.csproj
index 033e7df7..52a37fc2 100644
--- a/samples/Metrics/ServiceDefaults/ServiceDefaults.csproj
+++ b/samples/Metrics/ServiceDefaults/ServiceDefaults.csproj
@@ -13,8 +13,7 @@
-
-
+