fic metric description (#4171)

This commit is contained in:
Vishwesh Bankwar 2023-02-09 09:36:03 -08:00 committed by GitHub
parent b549e12148
commit 287295f9e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ namespace OpenTelemetry.Instrumentation.AspNetCore.Implementation
{
this.meter = meter;
this.options = options;
this.httpServerDuration = meter.CreateHistogram<double>(HttpServerDurationMetricName, "ms", "measures the duration of the inbound HTTP request");
this.httpServerDuration = meter.CreateHistogram<double>(HttpServerDurationMetricName, "ms", "Measures the duration of inbound HTTP requests.");
}
public override void OnEventWritten(string name, object payload)

View File

@ -33,7 +33,7 @@ namespace OpenTelemetry.Instrumentation.Http.Implementation
public HttpHandlerMetricsDiagnosticListener(string name, Meter meter)
: base(name)
{
this.httpClientDuration = meter.CreateHistogram<double>("http.client.duration", "ms", "measures the duration of the outbound HTTP request");
this.httpClientDuration = meter.CreateHistogram<double>("http.client.duration", "ms", "Measures the duration of outbound HTTP requests.");
}
public override void OnEventWritten(string name, object payload)