From ee5e2b8bec25b86a7b1298d39469b1af66bce1a1 Mon Sep 17 00:00:00 2001 From: Vishwesh Bankwar Date: Fri, 7 Jul 2023 10:36:55 -0700 Subject: [PATCH] rmv uing --- .../Implementation/HttpInListener.cs | 1 - .../Implementation/HttpHandlerDiagnosticListener.cs | 1 - .../Implementation/HttpHandlerMetricsDiagnosticListener.cs | 1 - 3 files changed, 3 deletions(-) diff --git a/src/OpenTelemetry.Instrumentation.AspNetCore/Implementation/HttpInListener.cs b/src/OpenTelemetry.Instrumentation.AspNetCore/Implementation/HttpInListener.cs index 17b03179452..01ae418524d 100644 --- a/src/OpenTelemetry.Instrumentation.AspNetCore/Implementation/HttpInListener.cs +++ b/src/OpenTelemetry.Instrumentation.AspNetCore/Implementation/HttpInListener.cs @@ -73,7 +73,6 @@ public HttpInListener(AspNetCoreInstrumentationOptions options) this.options = options; - this.emitOldAttributes = this.options.HttpSemanticConvention.HasFlag(HttpSemanticConvention.Old); this.emitNewAttributes = this.options.HttpSemanticConvention.HasFlag(HttpSemanticConvention.New); diff --git a/src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs b/src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs index 87678989e64..b7d2458d23b 100644 --- a/src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs +++ b/src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs @@ -20,7 +20,6 @@ #endif using System.Reflection; using OpenTelemetry.Context.Propagation; -using OpenTelemetry.Internal; using OpenTelemetry.Trace; using static OpenTelemetry.Internal.HttpSemanticConventionHelper; diff --git a/src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerMetricsDiagnosticListener.cs b/src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerMetricsDiagnosticListener.cs index 5627e2d509e..6fe05338b47 100644 --- a/src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerMetricsDiagnosticListener.cs +++ b/src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerMetricsDiagnosticListener.cs @@ -18,7 +18,6 @@ using System.Diagnostics.Metrics; #if NETFRAMEWORK using System.Net.Http; -using OpenTelemetry.Internal; #endif using OpenTelemetry.Trace; using static OpenTelemetry.Internal.HttpSemanticConventionHelper;