diff --git a/aspnetcore/log-mon/metrics/metrics/samples/web-metrics/Program.cs b/aspnetcore/log-mon/metrics/metrics/samples/web-metrics/Program.cs index 5bb74d1d67..3fe4ce5172 100644 --- a/aspnetcore/log-mon/metrics/metrics/samples/web-metrics/Program.cs +++ b/aspnetcore/log-mon/metrics/metrics/samples/web-metrics/Program.cs @@ -8,7 +8,7 @@ builder.Services.AddOpenTelemetry() builder.AddMeter("Microsoft.AspNetCore.Hosting", "Microsoft.AspNetCore.Server.Kestrel"); - builder.AddView("http-server-request-duration", + builder.AddView("http.server.request.duration", new ExplicitBucketHistogramConfiguration { Boundaries = new double[] { 0, 0.005, 0.01, 0.025, 0.05,