From 287295f9e6bef88a2d948bdff930cb6a74ac34e2 Mon Sep 17 00:00:00 2001 From: Vishwesh Bankwar Date: Thu, 9 Feb 2023 09:36:03 -0800 Subject: [PATCH] fic metric description (#4171) --- .../Implementation/HttpInMetricsListener.cs | 2 +- .../Implementation/HttpHandlerMetricsDiagnosticListener.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenTelemetry.Instrumentation.AspNetCore/Implementation/HttpInMetricsListener.cs b/src/OpenTelemetry.Instrumentation.AspNetCore/Implementation/HttpInMetricsListener.cs index 43607fb9d7e..52699a12a4b 100644 --- a/src/OpenTelemetry.Instrumentation.AspNetCore/Implementation/HttpInMetricsListener.cs +++ b/src/OpenTelemetry.Instrumentation.AspNetCore/Implementation/HttpInMetricsListener.cs @@ -39,7 +39,7 @@ internal HttpInMetricsListener(string name, Meter meter, AspNetCoreMetricsInstru { this.meter = meter; this.options = options; - this.httpServerDuration = meter.CreateHistogram(HttpServerDurationMetricName, "ms", "measures the duration of the inbound HTTP request"); + this.httpServerDuration = meter.CreateHistogram(HttpServerDurationMetricName, "ms", "Measures the duration of inbound HTTP requests."); } public override void OnEventWritten(string name, object payload) diff --git a/src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerMetricsDiagnosticListener.cs b/src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerMetricsDiagnosticListener.cs index 79cb2c86153..124e4351d04 100644 --- a/src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerMetricsDiagnosticListener.cs +++ b/src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerMetricsDiagnosticListener.cs @@ -33,7 +33,7 @@ internal sealed class HttpHandlerMetricsDiagnosticListener : ListenerHandler public HttpHandlerMetricsDiagnosticListener(string name, Meter meter) : base(name) { - this.httpClientDuration = meter.CreateHistogram("http.client.duration", "ms", "measures the duration of the outbound HTTP request"); + this.httpClientDuration = meter.CreateHistogram("http.client.duration", "ms", "Measures the duration of outbound HTTP requests."); } public override void OnEventWritten(string name, object payload)