Skip to content

Commit 899f687

Browse files
authored
Apply suggestions from code review
1 parent 432a534 commit 899f687

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Http/Http.Extensions/src/DisableHttpMetricsAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace Microsoft.AspNetCore.Http;
77

88
/// <summary>
9-
/// Specifies that an HTTP duration metric is disabled for an endpoint.
9+
/// Specifies that HTTP request duration metrics is disabled for an endpoint.
1010
/// </summary>
1111
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
1212
public sealed class DisableHttpMetricsAttribute : Attribute, IDisableHttpMetricsMetadata

src/Http/Http.Extensions/src/HttpMetricsEndpointConventionBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Microsoft.AspNetCore.Builder;
1111
public static class HttpMetricsEndpointConventionBuilderExtensions
1212
{
1313
/// <summary>
14-
/// Specifies that an HTTP duration metric is disabled for an endpoint.
14+
/// Specifies that HTTP request duration metrics is disabled for an endpoint.
1515
/// </summary>
1616
/// <typeparam name="TBuilder">The type of endpoint convention builder.</typeparam>
1717
/// <param name="builder">The endpoint convention builder.</param>

src/Http/Http.Features/src/IHttpMetricsTagsFeature.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace Microsoft.AspNetCore.Http.Features;
55

66
/// <summary>
7-
/// Provides access to tags added to the metrics HTTP request duration counter. This feature isn't set if the counter isn't enabled.
7+
/// Provides access to tags added to HTTP request duration metrics. This feature isn't set if the counter isn't enabled.
88
/// </summary>
99
public interface IHttpMetricsTagsFeature
1010
{
@@ -15,7 +15,7 @@ public interface IHttpMetricsTagsFeature
1515

1616
// MetricsDisabled was added after the initial release of this interface and is intentionally a DIM property.
1717
/// <summary>
18-
/// Gets or sets a flag that disables recording HTTP request duration counter for the current HTTP request.
18+
/// Gets or sets a flag that disables recording HTTP request duration metrics for the current HTTP request.
1919
/// </summary>
2020
public bool MetricsDisabled { get; set; }
2121
}

0 commit comments

Comments
 (0)