Fix ASP.NET metric instrument name in example (#30844)
parent
c98bcbdc0e
commit
799bc559be
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue