Fix ASP.NET metric instrument name in example (#30844)

pull/30840/head
Jacob Parker 2023-10-26 12:22:23 -04:00 committed by GitHub
parent c98bcbdc0e
commit 799bc559be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,