diff --git a/docs/metrics/getting-started/Program.cs b/docs/metrics/getting-started/Program.cs index e8aa9c63267..dec6c5a3889 100644 --- a/docs/metrics/getting-started/Program.cs +++ b/docs/metrics/getting-started/Program.cs @@ -14,7 +14,6 @@ // limitations under the License. // -using System; using System.Collections.Generic; using System.Diagnostics.Metrics; using System.Threading; diff --git a/examples/Console/TestPrometheusExporter.cs b/examples/Console/TestPrometheusExporter.cs index 34ef6efcf08..17fbe05e435 100644 --- a/examples/Console/TestPrometheusExporter.cs +++ b/examples/Console/TestPrometheusExporter.cs @@ -14,9 +14,7 @@ // limitations under the License. // -using System; using System.Collections.Generic; -using System.Diagnostics; using System.Diagnostics.Metrics; using System.Threading; using System.Threading.Tasks; diff --git a/src/OpenTelemetry.Exporter.Prometheus/PrometheusExporter.cs b/src/OpenTelemetry.Exporter.Prometheus/PrometheusExporter.cs index ea51da4cf56..7f85f1ba7e8 100644 --- a/src/OpenTelemetry.Exporter.Prometheus/PrometheusExporter.cs +++ b/src/OpenTelemetry.Exporter.Prometheus/PrometheusExporter.cs @@ -15,9 +15,6 @@ // using System; -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; using OpenTelemetry.Metrics; namespace OpenTelemetry.Exporter diff --git a/src/OpenTelemetry/Logs/LogRecord.cs b/src/OpenTelemetry/Logs/LogRecord.cs index a0aa6fff8c0..a73d11c9cbd 100644 --- a/src/OpenTelemetry/Logs/LogRecord.cs +++ b/src/OpenTelemetry/Logs/LogRecord.cs @@ -17,7 +17,6 @@ using System; using System.Collections.Generic; using System.Diagnostics; -using System.Runtime.CompilerServices; using Microsoft.Extensions.Logging; namespace OpenTelemetry.Logs diff --git a/src/OpenTelemetry/Logs/OpenTelemetryLoggingExtensions.cs b/src/OpenTelemetry/Logs/OpenTelemetryLoggingExtensions.cs index 5e957170bf7..7affea1ef02 100644 --- a/src/OpenTelemetry/Logs/OpenTelemetryLoggingExtensions.cs +++ b/src/OpenTelemetry/Logs/OpenTelemetryLoggingExtensions.cs @@ -19,7 +19,6 @@ using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Configuration; -using OpenTelemetry; using OpenTelemetry.Logs; namespace Microsoft.Extensions.Logging diff --git a/src/OpenTelemetry/Metrics/DataPoint/DataValue.cs b/src/OpenTelemetry/Metrics/DataPoint/DataValue.cs index e3db6eef5a0..cfbe935a226 100644 --- a/src/OpenTelemetry/Metrics/DataPoint/DataValue.cs +++ b/src/OpenTelemetry/Metrics/DataPoint/DataValue.cs @@ -14,8 +14,6 @@ // limitations under the License. // -using System; - namespace OpenTelemetry.Metrics { public readonly struct DataValue : IDataValue diff --git a/src/OpenTelemetry/Metrics/Processors/PullMetricProcessor.cs b/src/OpenTelemetry/Metrics/Processors/PullMetricProcessor.cs index e9ce9412b98..c0383278dc2 100644 --- a/src/OpenTelemetry/Metrics/Processors/PullMetricProcessor.cs +++ b/src/OpenTelemetry/Metrics/Processors/PullMetricProcessor.cs @@ -15,8 +15,6 @@ // using System; -using System.Threading; -using System.Threading.Tasks; namespace OpenTelemetry.Metrics { diff --git a/src/OpenTelemetry/Metrics/ThreadStaticStorage.cs b/src/OpenTelemetry/Metrics/ThreadStaticStorage.cs index 78053e1166e..d0c109b5ea1 100644 --- a/src/OpenTelemetry/Metrics/ThreadStaticStorage.cs +++ b/src/OpenTelemetry/Metrics/ThreadStaticStorage.cs @@ -16,7 +16,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics.Metrics; using System.Runtime.CompilerServices; namespace OpenTelemetry.Metrics diff --git a/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/DependencyInjectionConfigTests.cs b/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/DependencyInjectionConfigTests.cs index dfd8ad2b77b..cce05338e77 100644 --- a/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/DependencyInjectionConfigTests.cs +++ b/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/DependencyInjectionConfigTests.cs @@ -14,8 +14,6 @@ // limitations under the License. // -using System; -using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.DependencyInjection;