From 724d7e0419efcd0db0b7cfd2e771e6ef8ed6756e Mon Sep 17 00:00:00 2001 From: Zachary Richardson <zarichar@microsoft.com> Date: Thu, 9 Nov 2023 18:34:53 -0800 Subject: [PATCH] Linter fixes --- .../AspNetMetricsInstrumentationOptions.cs | 1 - .../HttpInMetricsListenerTests.cs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/OpenTelemetry.Instrumentation.AspNet/AspNetMetricsInstrumentationOptions.cs b/src/OpenTelemetry.Instrumentation.AspNet/AspNetMetricsInstrumentationOptions.cs index 5542e065bc..09dd5a1052 100644 --- a/src/OpenTelemetry.Instrumentation.AspNet/AspNetMetricsInstrumentationOptions.cs +++ b/src/OpenTelemetry.Instrumentation.AspNet/AspNetMetricsInstrumentationOptions.cs @@ -42,7 +42,6 @@ public sealed class AspNetMetricsInstrumentationOptions /// collect telemetry on a per request basis. /// </summary> /// <remarks> - /// Notes: /// <item>The return value for the filter function is interpreted as: /// <list type="bullet"> /// <item>If filter returns <see langword="true" />, the request is diff --git a/test/OpenTelemetry.Instrumentation.AspNet.Tests/HttpInMetricsListenerTests.cs b/test/OpenTelemetry.Instrumentation.AspNet.Tests/HttpInMetricsListenerTests.cs index 0306bf36fb..6e630434be 100644 --- a/test/OpenTelemetry.Instrumentation.AspNet.Tests/HttpInMetricsListenerTests.cs +++ b/test/OpenTelemetry.Instrumentation.AspNet.Tests/HttpInMetricsListenerTests.cs @@ -17,7 +17,6 @@ using System; using System.Collections.Generic; using System.Diagnostics; -using System.Security.Policy; using System.Threading; using System.Web; using OpenTelemetry.Context.Propagation; @@ -105,7 +104,7 @@ public void AspNetMetricTagsAreCollectedSuccessfully( meterProvider.ForceFlush(); - // If filtering is enabled, we should have collected no data. + // If filtering is enabled, we should have collected no data. if (filterMode == "on") { Assert.Empty(exportedItems);