Skip to content

Commit

Permalink
Merge branch 'main' into otel-service-name
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Jul 30, 2021
2 parents b6989e5 + 54d46d8 commit 72038c0
Show file tree
Hide file tree
Showing 22 changed files with 15 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: markdownlint
on:
push:
branches: [ main, metrics ]
paths-ignore:
paths:
- '**.md'
pull_request:
branches: [ main, metrics ]
Expand Down
1 change: 0 additions & 1 deletion docs/metrics/getting-started/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// limitations under the License.
// </copyright>

using System;
using System.Collections.Generic;
using System.Diagnostics.Metrics;
using System.Threading;
Expand Down
2 changes: 0 additions & 2 deletions examples/Console/TestPrometheusExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
// limitations under the License.
// </copyright>

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.Metrics;
using System.Threading;
using System.Threading.Tasks;
Expand Down
3 changes: 0 additions & 3 deletions src/OpenTelemetry.Exporter.Prometheus/PrometheusExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
// </copyright>

using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using OpenTelemetry.Metrics;

namespace OpenTelemetry.Exporter
Expand Down
1 change: 0 additions & 1 deletion src/OpenTelemetry/Logs/LogRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Microsoft.Extensions.Logging;

namespace OpenTelemetry.Logs
Expand Down
1 change: 0 additions & 1 deletion src/OpenTelemetry/Logs/OpenTelemetryLoggingExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions src/OpenTelemetry/Metrics/DataPoint/DataValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
// limitations under the License.
// </copyright>

using System;

namespace OpenTelemetry.Metrics
{
public readonly struct DataValue : IDataValue
Expand Down
2 changes: 0 additions & 2 deletions src/OpenTelemetry/Metrics/Processors/PullMetricProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
// </copyright>

using System;
using System.Threading;
using System.Threading.Tasks;

namespace OpenTelemetry.Metrics
{
Expand Down
1 change: 0 additions & 1 deletion src/OpenTelemetry/Metrics/ThreadStaticStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

using System;
using System.Collections.Generic;
using System.Diagnostics.Metrics;
using System.Runtime.CompilerServices;

namespace OpenTelemetry.Metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
// </copyright>

using System.Diagnostics;
using OpenTelemetry.Exporter.Jaeger.Implementation;
using Xunit;

namespace OpenTelemetry.Exporter.Jaeger.Tests.Implementation
namespace OpenTelemetry.Exporter.Jaeger.Implementation.Tests
{
public class Int128Test
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;

using OpenTelemetry.Exporter.Jaeger.Implementation;
using OpenTelemetry.Internal;
using OpenTelemetry.Resources;
using OpenTelemetry.Trace;
using Xunit;

namespace OpenTelemetry.Exporter.Jaeger.Tests.Implementation
namespace OpenTelemetry.Exporter.Jaeger.Implementation.Tests
{
public class JaegerActivityConversionTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
using System.Threading;
using System.Threading.Tasks;
using Moq;
using OpenTelemetry.Exporter.Jaeger.Implementation;
using Thrift.Transport;
using Xunit;

namespace OpenTelemetry.Exporter.Jaeger.Tests.Implementation
namespace OpenTelemetry.Exporter.Jaeger.Implementation.Tests
{
public class ThriftUdpClientTransportTests : IDisposable
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
using System.Diagnostics;
using System.Linq;
using OpenTelemetry.Exporter.Jaeger.Implementation;
using OpenTelemetry.Exporter.Jaeger.Tests.Implementation;
using OpenTelemetry.Exporter.Jaeger.Implementation.Tests;
using OpenTelemetry.Resources;
using OpenTelemetry.Trace;
using Thrift.Protocol;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
using System.Linq;
using System.Reflection;
using System.Threading;
using Google.Protobuf.Collections;
using Grpc.Core;
using OpenTelemetry.Exporter.OpenTelemetryProtocol.Implementation;
using OpenTelemetry.Resources;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
using Xunit;
using static OpenTelemetry.Exporter.Zipkin.Implementation.ZipkinActivityConversionExtensions;

namespace OpenTelemetry.Exporter.Zipkin.Tests.Implementation
namespace OpenTelemetry.Exporter.Zipkin.Implementation.Tests
{
public class ZipkinActivityConversionExtensionsTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
// </copyright>

using System.Linq;
using OpenTelemetry.Exporter.Zipkin.Implementation;
using OpenTelemetry.Exporter.Zipkin.Tests;
using OpenTelemetry.Internal;
using OpenTelemetry.Trace;
using Xunit;

namespace OpenTelemetry.Exporter.Zipkin.Tests.Implementation
namespace OpenTelemetry.Exporter.Zipkin.Implementation.Tests
{
public class ZipkinActivityConversionTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
// </copyright>

using System.Collections.Generic;
using OpenTelemetry.Exporter.Zipkin.Implementation;
using OpenTelemetry.Exporter.Zipkin.Tests;
using OpenTelemetry.Trace;
using Xunit;

namespace OpenTelemetry.Exporter.Zipkin.Tests.Implementation
namespace OpenTelemetry.Exporter.Zipkin.Implementation.Tests
{
public class ZipkinActivityExporterRemoteEndpointTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
// limitations under the License.
// </copyright>

using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
using Grpc.Net.Client;
using Moq;
using OpenTelemetry.Context.Propagation;
using OpenTelemetry.Instrumentation.Grpc.Tests.Services;
using OpenTelemetry.Instrumentation.Grpc.Services.Tests;
using OpenTelemetry.Instrumentation.GrpcNetClient;
using OpenTelemetry.Trace;
using Xunit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
using Grpc.Core;
using Microsoft.Extensions.Logging;

namespace OpenTelemetry.Instrumentation.Grpc.Tests.Services
namespace OpenTelemetry.Instrumentation.Grpc.Services.Tests
{
public class GreeterService : Greeter.GreeterBase
{
Expand Down
3 changes: 1 addition & 2 deletions test/OpenTelemetry.Tests/Internal/CircularBufferTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
// </copyright>

using System;
using OpenTelemetry.Internal;
using Xunit;

namespace OpenTelemetry.Tests.Internal
namespace OpenTelemetry.Internal.Tests
{
public class CircularBufferTest
{
Expand Down
3 changes: 2 additions & 1 deletion test/OpenTelemetry.Tests/Logs/LogRecordTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
using Microsoft.Extensions.Logging;
using OpenTelemetry.Exporter;
using OpenTelemetry.Logs;
using OpenTelemetry.Tests;
using OpenTelemetry.Trace;
using Xunit;

namespace OpenTelemetry.Tests.Logs
namespace OpenTelemetry.Logs.Tests
{
public sealed class LogRecordTest : IDisposable
{
Expand Down

0 comments on commit 72038c0

Please sign in to comment.