diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor.sln b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/Azure.Monitor.OpenTelemetry.Exporter.sln similarity index 68% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor.sln rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/Azure.Monitor.OpenTelemetry.Exporter.sln index 98fc45b4d0a45..a48a635b579b5 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor.sln +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/Azure.Monitor.OpenTelemetry.Exporter.sln @@ -5,17 +5,17 @@ VisualStudioVersion = 16.0.30330.147 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{8052009B-2126-44A3-88CD-4F3B17894C64}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.OpenTelemetry.Exporter.AzureMonitor", "src\Microsoft.OpenTelemetry.Exporter.AzureMonitor.csproj", "{00677EDC-1C5C-4C62-BEFD-9CF1D87195EA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Monitor.OpenTelemetry.Exporter", "src\Azure.Monitor.OpenTelemetry.Exporter.csproj", "{00677EDC-1C5C-4C62-BEFD-9CF1D87195EA}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing", "tests\Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing\Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing.csproj", "{966EFB72-64D7-46D8-B592-9C141C5703F9}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing", "tests\Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing\Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing.csproj", "{966EFB72-64D7-46D8-B592-9C141C5703F9}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests", "tests\Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests\Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests.csproj", "{14546496-6144-49A5-9431-09611F38D30E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Monitor.OpenTelemetry.Exporter.Tests", "tests\Azure.Monitor.OpenTelemetry.Exporter.Tests\Azure.Monitor.OpenTelemetry.Exporter.Tests.csproj", "{14546496-6144-49A5-9431-09611F38D30E}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Integration.Tests.AspNetCoreWebApp", "tests\Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp\Integration.Tests.AspNetCoreWebApp.csproj", "{E00C15D6-96E5-4A3B-8701-AC24292301CE}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.AspNetCoreWebApp", "tests\Integration.Tests.AspNetCoreWebApp\Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.AspNetCoreWebApp.csproj", "{E00C15D6-96E5-4A3B-8701-AC24292301CE}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Integration.Tests", "tests\Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests\Integration.Tests.csproj", "{3CB1B19D-1155-4E4E-9D97-3A7B2926DE2E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests", "tests\Integration.Tests\Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.csproj", "{3CB1B19D-1155-4E4E-9D97-3A7B2926DE2E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.OpenTelemetry.Exporter.AzureMonitor.Benchmarks", "tests\Benchmarks\Microsoft.OpenTelemetry.Exporter.AzureMonitor.Benchmarks.csproj", "{D57D79BA-6D39-4E9E-970C-A5F73A4425BB}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Monitor.OpenTelemetry.Exporter.Benchmarks", "tests\Azure.Monitor.OpenTelemetry.Exporter.Benchmarks\Azure.Monitor.OpenTelemetry.Exporter.Benchmarks.csproj", "{D57D79BA-6D39-4E9E-970C-A5F73A4425BB}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/CHANGELOG.md b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/CHANGELOG.md similarity index 100% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/CHANGELOG.md rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/CHANGELOG.md diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/Directory.Build.props b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/Directory.Build.props similarity index 100% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/Directory.Build.props rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/Directory.Build.props diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/README.md b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/README.md similarity index 91% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/README.md rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/README.md index 19a9d9a154d31..5c25c093acd06 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/README.md +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/README.md @@ -14,7 +14,7 @@ The [OpenTelemetry .NET](https://github.com/open-telemetry/opentelemetry-dotnet) Install the Azure Monitor Exporter for OpenTelemetry .NET with NuGet: ```shell -dotnet add package Microsoft.OpenTelemetry.Exporter.AzureMonitor +dotnet add package Azure.Monitor.OpenTelemetry.Exporter ``` ### Authenticate the client @@ -26,10 +26,10 @@ This exporter sends traces to the configured Azure Monitor Resource using HTTPS. ## Examples -Refer to [`DemoTrace.cs`](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing/DemoTrace.cs) for a complete demo. +Refer to [`DemoTrace.cs`](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing/DemoTrace.cs) for a complete demo. ```csharp -using Microsoft.OpenTelemetry.Exporter.AzureMonitor; +using Azure.Monitor.OpenTelemetry.Exporter; using OpenTelemetry.Trace; OpenTelemetry.Sdk.CreateTracerProviderBuilder() diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/api/Microsoft.OpenTelemetry.Exporter.AzureMonitor.netstandard2.0.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/api/Azure.Monitor.OpenTelemetry.Exporter.netstandard2.0.cs similarity index 67% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/api/Microsoft.OpenTelemetry.Exporter.AzureMonitor.netstandard2.0.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/api/Azure.Monitor.OpenTelemetry.Exporter.netstandard2.0.cs index 2933bbc368a30..0156b46fade7c 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/api/Microsoft.OpenTelemetry.Exporter.AzureMonitor.netstandard2.0.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/api/Azure.Monitor.OpenTelemetry.Exporter.netstandard2.0.cs @@ -1,8 +1,8 @@ -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { public static partial class AzureMonitorExporterHelperExtensions { - public static OpenTelemetry.Trace.TracerProviderBuilder AddAzureMonitorTraceExporter(this OpenTelemetry.Trace.TracerProviderBuilder builder, System.Action configure = null) { throw null; } + public static OpenTelemetry.Trace.TracerProviderBuilder AddAzureMonitorTraceExporter(this OpenTelemetry.Trace.TracerProviderBuilder builder, System.Action configure = null) { throw null; } } public partial class AzureMonitorExporterOptions : Azure.Core.ClientOptions { @@ -11,7 +11,7 @@ public AzureMonitorExporterOptions() { } } public partial class AzureMonitorTraceExporter : OpenTelemetry.BaseExporter { - public AzureMonitorTraceExporter(Microsoft.OpenTelemetry.Exporter.AzureMonitor.AzureMonitorExporterOptions options) { } + public AzureMonitorTraceExporter(Azure.Monitor.OpenTelemetry.Exporter.AzureMonitorExporterOptions options) { } public override OpenTelemetry.ExportResult Export(in OpenTelemetry.Batch batch) { throw null; } } } diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ActivityExtensions.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ActivityExtensions.cs similarity index 92% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ActivityExtensions.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ActivityExtensions.cs index f5bb772a94a86..9e6bc599e4341 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ActivityExtensions.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ActivityExtensions.cs @@ -3,7 +3,7 @@ using System.Diagnostics; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal static class ActivityExtensions { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ApplicationInsightsRestClient.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ApplicationInsightsRestClient.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ApplicationInsightsRestClient.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ApplicationInsightsRestClient.cs index fe4808c7e0deb..4fcb122e07912 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ApplicationInsightsRestClient.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ApplicationInsightsRestClient.cs @@ -6,9 +6,9 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Models; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal partial class ApplicationInsightsRestClient { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzMonList.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzMonList.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzMonList.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzMonList.cs index 7b2111e38470b..423fcda914edc 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzMonList.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzMonList.cs @@ -6,7 +6,7 @@ using System.Collections; using System.Collections.Generic; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal readonly struct AzMonList : IEnumerable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Microsoft.OpenTelemetry.Exporter.AzureMonitor.csproj b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Azure.Monitor.OpenTelemetry.Exporter.csproj similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Microsoft.OpenTelemetry.Exporter.AzureMonitor.csproj rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Azure.Monitor.OpenTelemetry.Exporter.csproj index 46cbbe7bd3d91..52d4ba5444c55 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Microsoft.OpenTelemetry.Exporter.AzureMonitor.csproj +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Azure.Monitor.OpenTelemetry.Exporter.csproj @@ -9,7 +9,7 @@ - + diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorConverter.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorConverter.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorConverter.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorConverter.cs index 2ea4941ce5fc1..2c0af142c7074 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorConverter.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorConverter.cs @@ -4,12 +4,12 @@ using System.Collections.Generic; using System.Diagnostics; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Models; using OpenTelemetry; using OpenTelemetry.Logs; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { /// /// This class is responsible for converting an OpenTelemetry of diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterEventSource.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterEventSource.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterEventSource.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterEventSource.cs index 5a6839289f1b1..c5cc404f4af26 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterEventSource.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterEventSource.cs @@ -6,7 +6,7 @@ using System.Diagnostics.Tracing; using Azure.Core.Shared; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { [EventSource(Name = EventSourceName)] internal sealed class AzureMonitorExporterEventSource : EventSource diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterHelperExtensions.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterHelperExtensions.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterHelperExtensions.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterHelperExtensions.cs index 76d0e58278954..ef51b22ed4e11 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterHelperExtensions.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterHelperExtensions.cs @@ -6,7 +6,7 @@ using System; using System.Diagnostics; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { /// /// test diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterLoggingExtensions.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterLoggingExtensions.cs similarity index 94% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterLoggingExtensions.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterLoggingExtensions.cs index 69ebc2e9fe765..2c2cfdd711c40 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterLoggingExtensions.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterLoggingExtensions.cs @@ -3,7 +3,7 @@ using System; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor; +using Azure.Monitor.OpenTelemetry.Exporter; using OpenTelemetry; using OpenTelemetry.Logs; diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterOptions.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterOptions.cs similarity index 81% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterOptions.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterOptions.cs index 8d745380804eb..6b37c7f737394 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterOptions.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterOptions.cs @@ -3,7 +3,7 @@ using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { public class AzureMonitorExporterOptions : ClientOptions { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorLogExporter.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorLogExporter.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorLogExporter.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorLogExporter.cs index e2a3dc0dd3d4f..2b514139a83f0 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorLogExporter.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorLogExporter.cs @@ -9,7 +9,7 @@ using OpenTelemetry; using OpenTelemetry.Logs; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal class AzureMonitorLogExporter : BaseExporter { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorTraceExporter.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorTraceExporter.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorTraceExporter.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorTraceExporter.cs index 073bb3203a7e3..f7e4064049bb5 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorTraceExporter.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorTraceExporter.cs @@ -10,7 +10,7 @@ using OpenTelemetry; using OpenTelemetry.Trace; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { public class AzureMonitorTraceExporter : BaseExporter { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorTransmitter.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorTransmitter.cs similarity index 92% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorTransmitter.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorTransmitter.cs index 81782a06a83bf..4bdb0cf0565f6 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorTransmitter.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorTransmitter.cs @@ -9,10 +9,10 @@ using Azure.Core; using Azure.Core.Pipeline; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.ConnectionString; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.ConnectionString; +using Azure.Monitor.OpenTelemetry.Exporter.Models; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { /// /// This class encapsulates transmitting a collection of to the configured Ingestion Endpoint. diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ConnectionString/ConnectionStringParser.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ConnectionString/ConnectionStringParser.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ConnectionString/ConnectionStringParser.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ConnectionString/ConnectionStringParser.cs index 9859e89fca222..a5147459ab6f8 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ConnectionString/ConnectionStringParser.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ConnectionString/ConnectionStringParser.cs @@ -7,7 +7,7 @@ // This alias is necessary because it will otherwise try to default to "Microsoft.Azure.Core" which doesn't exist. using AzureCoreConnectionString = Azure.Core.ConnectionString; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.ConnectionString +namespace Azure.Monitor.OpenTelemetry.Exporter.ConnectionString { internal static class ConnectionStringParser { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ConnectionString/Constants.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ConnectionString/Constants.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ConnectionString/Constants.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ConnectionString/Constants.cs index cd7ad9e9ed597..4f3c8d78c70cd 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ConnectionString/Constants.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ConnectionString/Constants.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.ConnectionString +namespace Azure.Monitor.OpenTelemetry.Exporter.ConnectionString { internal static class Constants { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/EventLevelSuffix.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/EventLevelSuffix.cs similarity index 88% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/EventLevelSuffix.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/EventLevelSuffix.cs index 6c36ceddaf631..6d6b8deb20cf4 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/EventLevelSuffix.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/EventLevelSuffix.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal class EventLevelSuffix { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ExceptionExtensions.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ExceptionExtensions.cs similarity index 94% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ExceptionExtensions.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ExceptionExtensions.cs index 73b40c54c177e..67bc646525499 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ExceptionExtensions.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ExceptionExtensions.cs @@ -5,7 +5,7 @@ using System.Globalization; using System.Threading; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal static class ExceptionExtensions { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/ApplicationInsightsRestClient.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/ApplicationInsightsRestClient.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/ApplicationInsightsRestClient.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/ApplicationInsightsRestClient.cs index 208cdf13c6e1a..5e76d257f04c0 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/ApplicationInsightsRestClient.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/ApplicationInsightsRestClient.cs @@ -13,9 +13,9 @@ using Azure; using Azure.Core; using Azure.Core.Pipeline; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Models; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal partial class ApplicationInsightsRestClient { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/AvailabilityData.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/AvailabilityData.Serialization.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/AvailabilityData.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/AvailabilityData.Serialization.cs index 6bb632209184d..8f5fc6719bf4b 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/AvailabilityData.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/AvailabilityData.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class AvailabilityData : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/AvailabilityData.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/AvailabilityData.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/AvailabilityData.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/AvailabilityData.cs index 2f556da448b92..4b7008f23a181 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/AvailabilityData.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/AvailabilityData.cs @@ -9,7 +9,7 @@ using System.Collections.Generic; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// Instances of AvailabilityData represent the result of executing an availability test. internal partial class AvailabilityData : MonitorDomain diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/ContextTagKeys.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/ContextTagKeys.cs similarity index 99% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/ContextTagKeys.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/ContextTagKeys.cs index 68e7167d0d074..51685a1460032 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/ContextTagKeys.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/ContextTagKeys.cs @@ -8,7 +8,7 @@ using System; using System.ComponentModel; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// The context tag keys. internal readonly partial struct ContextTagKeys : IEquatable diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/DataPointType.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/DataPointType.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/DataPointType.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/DataPointType.cs index 59cd9c4aa0c08..f0f7f366a5f55 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/DataPointType.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/DataPointType.cs @@ -8,7 +8,7 @@ using System; using System.ComponentModel; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// Type of the metric data measurement. internal readonly partial struct DataPointType : IEquatable diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MessageData.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MessageData.Serialization.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MessageData.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MessageData.Serialization.cs index 10c88519c4724..38e2f42f5894e 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MessageData.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MessageData.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class MessageData : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MessageData.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MessageData.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MessageData.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MessageData.cs index 61da5a62af623..a580281a085f4 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MessageData.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MessageData.cs @@ -9,7 +9,7 @@ using System.Collections.Generic; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// Instances of Message represent printf-like trace statements that are text-searched. Log4Net, NLog and other text-based log file entries are translated into instances of this type. The message does not have measurements. internal partial class MessageData : MonitorDomain diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MetricDataPoint.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MetricDataPoint.Serialization.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MetricDataPoint.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MetricDataPoint.Serialization.cs index 06ed2c126ddf0..eb73a228064e3 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MetricDataPoint.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MetricDataPoint.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class MetricDataPoint : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MetricDataPoint.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MetricDataPoint.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MetricDataPoint.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MetricDataPoint.cs index 26508867a142a..24c8dae5283a9 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MetricDataPoint.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MetricDataPoint.cs @@ -7,7 +7,7 @@ using System; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// Metric data single measurement. internal partial class MetricDataPoint diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MetricsData.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MetricsData.Serialization.cs similarity index 94% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MetricsData.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MetricsData.Serialization.cs index bbdc33d62c3d0..95ca719ab4024 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MetricsData.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MetricsData.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class MetricsData : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MetricsData.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MetricsData.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MetricsData.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MetricsData.cs index 14e178af4e2a0..174ca8c7fc5b2 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MetricsData.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MetricsData.cs @@ -10,7 +10,7 @@ using System.Linq; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// An instance of the Metric item is a list of measurements (single data points) and/or aggregations. internal partial class MetricsData : MonitorDomain diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MonitorBase.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MonitorBase.Serialization.cs similarity index 92% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MonitorBase.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MonitorBase.Serialization.cs index 3bbc05628bc37..72402236abb89 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MonitorBase.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MonitorBase.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class MonitorBase : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MonitorBase.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MonitorBase.cs similarity index 91% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MonitorBase.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MonitorBase.cs index 7f5740be55c37..8ee957f9300f7 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MonitorBase.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MonitorBase.cs @@ -5,7 +5,7 @@ #nullable disable -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// Data struct to contain only C section with custom fields. internal partial class MonitorBase diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MonitorDomain.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MonitorDomain.Serialization.cs similarity index 89% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MonitorDomain.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MonitorDomain.Serialization.cs index 3bf3a4848e41e..83a807812d906 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MonitorDomain.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MonitorDomain.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class MonitorDomain : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MonitorDomain.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MonitorDomain.cs similarity index 90% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MonitorDomain.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MonitorDomain.cs index b16bfd02bd977..a175124907ad7 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/MonitorDomain.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/MonitorDomain.cs @@ -5,7 +5,7 @@ #nullable disable -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// The abstract common base of all domains. internal partial class MonitorDomain diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/PageViewData.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/PageViewData.Serialization.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/PageViewData.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/PageViewData.Serialization.cs index 44545d8a63f20..ae2907e378a23 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/PageViewData.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/PageViewData.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class PageViewData : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/PageViewData.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/PageViewData.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/PageViewData.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/PageViewData.cs index be63a1c89a657..5ac5eb735caf9 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/PageViewData.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/PageViewData.cs @@ -9,7 +9,7 @@ using System.Collections.Generic; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// An instance of PageView represents a generic action on a page like a button click. It is also the base type for PageView. internal partial class PageViewData : MonitorDomain diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/PageViewPerfData.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/PageViewPerfData.Serialization.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/PageViewPerfData.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/PageViewPerfData.Serialization.cs index 3e8fcf84cbdf8..595a83b081c6f 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/PageViewPerfData.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/PageViewPerfData.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class PageViewPerfData : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/PageViewPerfData.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/PageViewPerfData.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/PageViewPerfData.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/PageViewPerfData.cs index b1ba474ad4b0d..c0c3c11ce8c1d 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/PageViewPerfData.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/PageViewPerfData.cs @@ -9,7 +9,7 @@ using System.Collections.Generic; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// An instance of PageViewPerf represents: a page view with no performance data, a page view with performance data, or just the performance data of an earlier page request. internal partial class PageViewPerfData : MonitorDomain diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/RemoteDependencyData.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/RemoteDependencyData.Serialization.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/RemoteDependencyData.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/RemoteDependencyData.Serialization.cs index aa3c376c50717..863392369699a 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/RemoteDependencyData.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/RemoteDependencyData.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class RemoteDependencyData : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/RemoteDependencyData.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/RemoteDependencyData.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/RemoteDependencyData.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/RemoteDependencyData.cs index 862de190c90a8..66f306078bf13 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/RemoteDependencyData.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/RemoteDependencyData.cs @@ -9,7 +9,7 @@ using System.Collections.Generic; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// An instance of Remote Dependency represents an interaction of the monitored component with a remote component/service like SQL or an HTTP endpoint. internal partial class RemoteDependencyData : MonitorDomain diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/RequestData.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/RequestData.Serialization.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/RequestData.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/RequestData.Serialization.cs index 100512593e8c5..336a43d6e66ef 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/RequestData.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/RequestData.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class RequestData : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/RequestData.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/RequestData.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/RequestData.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/RequestData.cs index c20dffea2688a..61d6ce1eb3d30 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/RequestData.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/RequestData.cs @@ -9,7 +9,7 @@ using System.Collections.Generic; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// An instance of Request represents completion of an external request to the application to do work and contains a summary of that request execution and the results. internal partial class RequestData : MonitorDomain diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/SeverityLevel.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/SeverityLevel.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/SeverityLevel.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/SeverityLevel.cs index 96e2c838c0e21..b26e6689bc0fc 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/SeverityLevel.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/SeverityLevel.cs @@ -8,7 +8,7 @@ using System; using System.ComponentModel; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// Defines the level of severity for the event. internal readonly partial struct SeverityLevel : IEquatable diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/StackFrame.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/StackFrame.Serialization.cs similarity index 94% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/StackFrame.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/StackFrame.Serialization.cs index 7fa98761e86de..d49481a074fbd 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/StackFrame.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/StackFrame.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class StackFrame : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/StackFrame.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/StackFrame.cs similarity index 95% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/StackFrame.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/StackFrame.cs index 4a3e9fe1974e8..78f220a1e9c19 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/StackFrame.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/StackFrame.cs @@ -7,7 +7,7 @@ using System; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// Stack frame information. internal partial class StackFrame diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryErrorDetails.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryErrorDetails.Serialization.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryErrorDetails.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryErrorDetails.Serialization.cs index a88c3c2731774..65484a939d2b0 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryErrorDetails.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryErrorDetails.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class TelemetryErrorDetails { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryErrorDetails.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryErrorDetails.cs similarity index 95% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryErrorDetails.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryErrorDetails.cs index 74c377bcd0483..8d6d95c96b4a9 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryErrorDetails.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryErrorDetails.cs @@ -5,7 +5,7 @@ #nullable disable -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// The error details. internal partial class TelemetryErrorDetails diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryEventData.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryEventData.Serialization.cs similarity index 95% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryEventData.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryEventData.Serialization.cs index e35071825940a..9883fced90ffc 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryEventData.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryEventData.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class TelemetryEventData : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryEventData.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryEventData.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryEventData.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryEventData.cs index 33a8f10714b0b..6bc32c71040f3 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryEventData.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryEventData.cs @@ -9,7 +9,7 @@ using System.Collections.Generic; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// Instances of Event represent structured event records that can be grouped and searched by their properties. Event data item also creates a metric of event count by name. internal partial class TelemetryEventData : MonitorDomain diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryExceptionData.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryExceptionData.Serialization.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryExceptionData.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryExceptionData.Serialization.cs index 29eceb827c1dc..32517f9bb58d2 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryExceptionData.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryExceptionData.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class TelemetryExceptionData : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryExceptionData.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryExceptionData.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryExceptionData.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryExceptionData.cs index 4679095f93181..0fc2d27349bd8 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryExceptionData.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryExceptionData.cs @@ -10,7 +10,7 @@ using System.Linq; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// An instance of Exception represents a handled or unhandled exception that occurred during execution of the monitored application. internal partial class TelemetryExceptionData : MonitorDomain diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryExceptionDetails.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryExceptionDetails.Serialization.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryExceptionDetails.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryExceptionDetails.Serialization.cs index a296d3c0e893b..47327c71975ed 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryExceptionDetails.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryExceptionDetails.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class TelemetryExceptionDetails : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryExceptionDetails.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryExceptionDetails.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryExceptionDetails.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryExceptionDetails.cs index 605d6c2890a6e..85b8e938585bd 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryExceptionDetails.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryExceptionDetails.cs @@ -9,7 +9,7 @@ using System.Collections.Generic; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// Exception details of the exception in a chain. internal partial class TelemetryExceptionDetails diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryItem.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryItem.Serialization.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryItem.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryItem.Serialization.cs index 80343080b90d0..787631aa8d724 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryItem.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryItem.Serialization.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class TelemetryItem : IUtf8JsonSerializable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryItem.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryItem.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryItem.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryItem.cs index 18732f7f0d188..e0f92822ecc0b 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TelemetryItem.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TelemetryItem.cs @@ -9,7 +9,7 @@ using System.Collections.Generic; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// System variables for a telemetry item. internal partial class TelemetryItem diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TrackResponse.Serialization.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TrackResponse.Serialization.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TrackResponse.Serialization.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TrackResponse.Serialization.cs index 477f0501b5b12..cb176d82405d9 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TrackResponse.Serialization.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TrackResponse.Serialization.cs @@ -9,7 +9,7 @@ using System.Text.Json; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { internal partial class TrackResponse { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TrackResponse.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TrackResponse.cs similarity index 95% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TrackResponse.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TrackResponse.cs index d4069ae741e76..887aae8e9abda 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Generated/Models/TrackResponse.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Generated/Models/TrackResponse.cs @@ -8,7 +8,7 @@ using System.Collections.Generic; using Azure.Core; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models +namespace Azure.Monitor.OpenTelemetry.Exporter.Models { /// Response containing the status of each telemetry item. internal partial class TrackResponse diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/HttpHelper.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/HttpHelper.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/HttpHelper.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/HttpHelper.cs index 385326ee7426e..5b33a17d9b715 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/HttpHelper.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/HttpHelper.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal static class HttpHelper { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ITransmitter.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ITransmitter.cs similarity index 80% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ITransmitter.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ITransmitter.cs index 42928f40b14e9..a90c55f5c971e 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ITransmitter.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ITransmitter.cs @@ -5,9 +5,9 @@ using System.Threading; using System.Threading.Tasks; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Models; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal interface ITransmitter { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/IngestionResponsePolicy.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/IngestionResponsePolicy.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/IngestionResponsePolicy.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/IngestionResponsePolicy.cs index de234c6d06464..9101317e9cb8d 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/IngestionResponsePolicy.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/IngestionResponsePolicy.cs @@ -9,9 +9,9 @@ using Azure.Core; using Azure.Core.Pipeline; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Models; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal class IngestionResponsePolicy : HttpPipelineSynchronousPolicy { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/NDJsonWriter.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/NDJsonWriter.cs similarity index 95% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/NDJsonWriter.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/NDJsonWriter.cs index 7c7b8b3f5c6d1..3b889bdffd0c5 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/NDJsonWriter.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/NDJsonWriter.cs @@ -5,7 +5,7 @@ using System.IO; using System.Text.Json; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal class NDJsonWriter: IDisposable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/PartBType.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/PartBType.cs similarity index 82% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/PartBType.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/PartBType.cs index dddb27dd3a970..e55a2ea7fb95a 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/PartBType.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/PartBType.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal enum PartBType { diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Properties/AssemblyInfo.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000000..53346b2fb8743 --- /dev/null +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Properties/AssemblyInfo.cs @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("Azure.Monitor.OpenTelemetry.Exporter.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")] +[assembly: InternalsVisibleTo("Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")] +[assembly: InternalsVisibleTo("Azure.Monitor.OpenTelemetry.Exporter.Benchmarks, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")] + +// Moq +[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ResponseStatusCodes.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ResponseStatusCodes.cs similarity index 91% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ResponseStatusCodes.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ResponseStatusCodes.cs index f67ede9fe3e46..0ac69b1484d64 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/ResponseStatusCodes.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/ResponseStatusCodes.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal class ResponseStatusCodes { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/SdkVersionUtils.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/SdkVersionUtils.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/SdkVersionUtils.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/SdkVersionUtils.cs index d1328388df198..86baa1fb3cadc 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/SdkVersionUtils.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/SdkVersionUtils.cs @@ -7,7 +7,7 @@ using System.Reflection; using OpenTelemetry; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal static class SdkVersionUtils { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/SemanticConventions.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/SemanticConventions.cs similarity index 99% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/SemanticConventions.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/SemanticConventions.cs index 7366fbb0f84a2..b6b35fe09d7cd 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/SemanticConventions.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/SemanticConventions.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { /// /// Constants for semantic attribute names outlined by the OpenTelemetry specifications. diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/StringExtensions.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/StringExtensions.cs similarity index 84% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/StringExtensions.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/StringExtensions.cs index 211ab3840c8ab..709db7b7cf7ec 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/StringExtensions.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/StringExtensions.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal static class StringExtensions { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TagEnumerationState.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TagEnumerationState.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TagEnumerationState.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TagEnumerationState.cs index e920fb5720212..033a2aae5a631 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TagEnumerationState.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TagEnumerationState.cs @@ -6,7 +6,7 @@ using System.Text; using OpenTelemetry.Trace; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal struct TagEnumerationState : IActivityEnumerator> { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TagsExtension.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TagsExtension.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TagsExtension.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TagsExtension.cs index 18e7ffb099ee1..b03080560e56a 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TagsExtension.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TagsExtension.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Text; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal static class TagsExtension { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TelemetryDebugWriter.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryDebugWriter.cs similarity index 93% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TelemetryDebugWriter.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryDebugWriter.cs index 980c4b5a7b95a..d0b18022b7c40 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TelemetryDebugWriter.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryDebugWriter.cs @@ -3,7 +3,7 @@ using System.Diagnostics; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal class TelemetryDebugWriter { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TelemetryPartA.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryPartA.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TelemetryPartA.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryPartA.cs index 648af9856eaba..9a0825685d790 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TelemetryPartA.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryPartA.cs @@ -5,13 +5,13 @@ using System.Diagnostics; using System.Globalization; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Models; using OpenTelemetry.Logs; using OpenTelemetry.Resources; using OpenTelemetry.Trace; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { /// /// Part A are the common data that apply to OTel Trace, OTel Logs and OTel Metrics. diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TelemetryPartB.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryPartB.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TelemetryPartB.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryPartB.cs index d3030047cf829..2a4ad372bb797 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TelemetryPartB.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryPartB.cs @@ -7,12 +7,12 @@ using System.Runtime.CompilerServices; using Microsoft.Extensions.Logging; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Models; using OpenTelemetry.Logs; using OpenTelemetry.Trace; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { /// /// Part B are the Azure Monitor domain specific schemas. diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TelemetryType.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryType.cs similarity index 79% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TelemetryType.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryType.cs index 1c53e9f010b92..9bdbee5c8f740 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/TelemetryType.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryType.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal enum TelemetryType { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/autorest.md b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/autorest.md similarity index 100% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/autorest.md rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/autorest.md diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Benchmarks/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Benchmarks.csproj b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks.csproj similarity index 77% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Benchmarks/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Benchmarks.csproj rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks.csproj index 85e0a40dd511e..7a84c6e3909d6 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Benchmarks/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Benchmarks.csproj +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks.csproj @@ -6,7 +6,7 @@ - + diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Benchmarks/Program.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks/Program.cs similarity index 82% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Benchmarks/Program.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks/Program.cs index af2f6de046dbc..296261d3d03c7 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Benchmarks/Program.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks/Program.cs @@ -3,7 +3,7 @@ using BenchmarkDotNet.Running; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Benchmarks +namespace Azure.Monitor.OpenTelemetry.Exporter.Benchmarks { internal class Program { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Benchmarks/TagObjectsBenchmarks.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks/TagObjectsBenchmarks.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Benchmarks/TagObjectsBenchmarks.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks/TagObjectsBenchmarks.cs index 316b876489e57..810b6de008728 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Benchmarks/TagObjectsBenchmarks.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks/TagObjectsBenchmarks.cs @@ -7,7 +7,7 @@ using System.Collections.Generic; using System.Diagnostics; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Benchmarks +namespace Azure.Monitor.OpenTelemetry.Exporter.Benchmarks { [MemoryDiagnoser] public class TagObjectsBenchmarks diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Benchmarks/TagObjectsGetValuesBenchmarks.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks/TagObjectsGetValuesBenchmarks.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Benchmarks/TagObjectsGetValuesBenchmarks.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks/TagObjectsGetValuesBenchmarks.cs index b02456be470e3..5c344d8af71fc 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Benchmarks/TagObjectsGetValuesBenchmarks.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Benchmarks/TagObjectsGetValuesBenchmarks.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Diagnostics; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Benchmarks +namespace Azure.Monitor.OpenTelemetry.Exporter.Benchmarks { [MemoryDiagnoser] public class TagObjectsGetValuesBenchmarks diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing.csproj b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing.csproj similarity index 69% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing.csproj rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing.csproj index 11c06135daee8..a8ab65fdf3871 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing.csproj +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing.csproj @@ -6,7 +6,7 @@ - + diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing/DemoTrace.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing/DemoTrace.cs similarity index 89% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing/DemoTrace.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing/DemoTrace.cs index 4f7e039072c47..82ae82c2648a2 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing/DemoTrace.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing/DemoTrace.cs @@ -2,10 +2,10 @@ // Licensed under the MIT License. using System.Diagnostics; -using OpenTelemetry; -using OpenTelemetry.Resources; +using global::OpenTelemetry; +using global::OpenTelemetry.Resources; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing +namespace Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing { public static class DemoTrace { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing/InstrumentationWithActivitySource.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing/InstrumentationWithActivitySource.cs similarity index 99% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing/InstrumentationWithActivitySource.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing/InstrumentationWithActivitySource.cs index 86bca798b04fc..0d19e95c28bea 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing/InstrumentationWithActivitySource.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing/InstrumentationWithActivitySource.cs @@ -12,7 +12,7 @@ using System.Threading; using System.Threading.Tasks; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing +namespace Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing { internal class InstrumentationWithActivitySource : IDisposable { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests.csproj b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/Azure.Monitor.OpenTelemetry.Exporter.Tests.csproj similarity index 72% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests.csproj rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/Azure.Monitor.OpenTelemetry.Exporter.Tests.csproj index aa18905f3bfd8..ad7d3d18893ee 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests.csproj +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/Azure.Monitor.OpenTelemetry.Exporter.Tests.csproj @@ -2,7 +2,7 @@ $(RequiredTargetFrameworks) - Microsoft.OpenTelemetry.Exporter.AzureMonitor + Azure.Monitor.OpenTelemetry.Exporter @@ -14,6 +14,6 @@ - + diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/AzureMonitorTraceExporterTests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/AzureMonitorTraceExporterTests.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/AzureMonitorTraceExporterTests.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/AzureMonitorTraceExporterTests.cs index 2e9c8609a944f..d0147928180ee 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/AzureMonitorTraceExporterTests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/AzureMonitorTraceExporterTests.cs @@ -7,7 +7,7 @@ using Xunit; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { public class AzureMonitorTraceExporterTests { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/ConnectionString/ConnectionStringParserTests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/ConnectionString/ConnectionStringParserTests.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/ConnectionString/ConnectionStringParserTests.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/ConnectionString/ConnectionStringParserTests.cs index 0cb926ceaf624..e632724f8e842 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/ConnectionString/ConnectionStringParserTests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/ConnectionString/ConnectionStringParserTests.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.ConnectionString +namespace Azure.Monitor.OpenTelemetry.Exporter.ConnectionString { public class ConnectionStringParserTests { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/ConnectionString/ConnectionStringParser_BuildUriTests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/ConnectionString/ConnectionStringParser_BuildUriTests.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/ConnectionString/ConnectionStringParser_BuildUriTests.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/ConnectionString/ConnectionStringParser_BuildUriTests.cs index cfbee2d2902c8..e12c04f16d93e 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/ConnectionString/ConnectionStringParser_BuildUriTests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/ConnectionString/ConnectionStringParser_BuildUriTests.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.ConnectionString +namespace Azure.Monitor.OpenTelemetry.Exporter.ConnectionString { /// /// The method takes user input to construct an endpoint. diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/ConnectionString/ConnectionStringTests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/ConnectionString/ConnectionStringTests.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/ConnectionString/ConnectionStringTests.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/ConnectionString/ConnectionStringTests.cs index 44e79da4842d5..6cdfd07e35f48 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/ConnectionString/ConnectionStringTests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/ConnectionString/ConnectionStringTests.cs @@ -8,7 +8,7 @@ // This alias is necessary because it will otherwise try to default to "Microsoft.Azure.Core" which doesn't exist. using AzureCoreConnectionString = Azure.Core.ConnectionString; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.ConnectionString +namespace Azure.Monitor.OpenTelemetry.Exporter.ConnectionString { /// /// Because we don't own the code for , these tests are to verify expected behavior. diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/ExceptionExtensionsTests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/ExceptionExtensionsTests.cs similarity index 95% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/ExceptionExtensionsTests.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/ExceptionExtensionsTests.cs index 09222fa6f96c2..61a0ea7189930 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/ExceptionExtensionsTests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/ExceptionExtensionsTests.cs @@ -6,7 +6,7 @@ using System.Threading; using Xunit; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { public class ExceptionExtensionsTests { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/HttpHelperTests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/HttpHelperTests.cs similarity index 99% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/HttpHelperTests.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/HttpHelperTests.cs index 9cfd824241a9e..3049bc5413ad1 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/HttpHelperTests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/HttpHelperTests.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using Xunit; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { public class HttpHelperTests { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/NDJsonWriterTests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/NDJsonWriterTests.cs similarity index 93% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/NDJsonWriterTests.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/NDJsonWriterTests.cs index 0a9a17ae2a6be..36795c21c3e5f 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/NDJsonWriterTests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/NDJsonWriterTests.cs @@ -4,7 +4,7 @@ using System.Text; using Xunit; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests +namespace Azure.Monitor.OpenTelemetry.Exporter.Tests { public class NDJsonWriterTests { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/StubException.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/StubException.cs similarity index 90% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/StubException.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/StubException.cs index 7c3f35ca4131a..18252cf67b71d 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/StubException.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/StubException.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor +namespace Azure.Monitor.OpenTelemetry.Exporter { internal class StubException : Exception { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/TagsTests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/TagsTests.cs similarity index 96% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/TagsTests.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/TagsTests.cs index 813a5b915fbc5..20fd3208f087d 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/TagsTests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/TagsTests.cs @@ -7,7 +7,7 @@ using System.Diagnostics; using Xunit; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests +namespace Azure.Monitor.OpenTelemetry.Exporter.Tests { public class TagsTests { @@ -282,7 +282,7 @@ public void TagObjects_ObjectArray() Assert.Empty(monitorTags.PartBTags); Assert.Single(monitorTags.PartCTags); - Assert.Equal("Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests.TagsTests+Test,Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests.TagsTests+Test,Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests.TagsTests+Test", AzMonList.GetTagValue(ref monitorTags.PartCTags, "objArray")); + Assert.Equal("Azure.Monitor.OpenTelemetry.Exporter.Tests.TagsTests+Test,Azure.Monitor.OpenTelemetry.Exporter.Tests.TagsTests+Test,Azure.Monitor.OpenTelemetry.Exporter.Tests.TagsTests+Test", AzMonList.GetTagValue(ref monitorTags.PartCTags, "objArray")); } [Fact] @@ -315,7 +315,7 @@ public void TagObjects_Diff_DataTypes() Assert.Equal(1.1, AzMonList.GetTagValue(ref monitorTags.PartCTags, "doubleKey")); Assert.Equal("test", AzMonList.GetTagValue(ref monitorTags.PartCTags, "stringKey")); Assert.Equal(true, AzMonList.GetTagValue(ref monitorTags.PartCTags, "boolKey")); - Assert.Equal("Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests.TagsTests+Test", AzMonList.GetTagValue(ref monitorTags.PartCTags, "objectKey").ToString()); + Assert.Equal("Azure.Monitor.OpenTelemetry.Exporter.Tests.TagsTests+Test", AzMonList.GetTagValue(ref monitorTags.PartCTags, "objectKey").ToString()); Assert.Equal("1,2,3", AzMonList.GetTagValue(ref monitorTags.PartCTags, "arrayKey")); } diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/TelemetryPartATests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/TelemetryPartATests.cs similarity index 98% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/TelemetryPartATests.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/TelemetryPartATests.cs index d5632784a9dcd..71f4b2c04b7d4 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests/TelemetryPartATests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/TelemetryPartATests.cs @@ -7,10 +7,10 @@ using System.Globalization; using Xunit; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Models; using OpenTelemetry.Resources; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Demo.Tracing +namespace Azure.Monitor.OpenTelemetry.Exporter.Demo.Tracing { public class TelemetryPartATests { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/Integration.Tests.AspNetCoreWebApp.csproj b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.AspNetCoreWebApp.csproj similarity index 91% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/Integration.Tests.AspNetCoreWebApp.csproj rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.AspNetCoreWebApp.csproj index e7db2aab31091..2b40e9721cad3 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/Integration.Tests.AspNetCoreWebApp.csproj +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.AspNetCoreWebApp.csproj @@ -3,7 +3,6 @@ $(RequiredTargetFrameworks) - Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp false diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/Controllers/HomeController.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/Controllers/HomeController.cs similarity index 94% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/Controllers/HomeController.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/Controllers/HomeController.cs index f116048a61dd5..075a7469981ce 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/Controllers/HomeController.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/Controllers/HomeController.cs @@ -5,7 +5,7 @@ using Microsoft.AspNetCore.Mvc; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp +namespace Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.AspNetCoreWebApp { /// /// This controller is used to verify that the IntegrationTests project can send requests to this WebApp and receive responses. diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/Program.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/Program.cs similarity index 82% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/Program.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/Program.cs index e8d508c2f69e7..2fee18838a744 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/Program.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/Program.cs @@ -4,7 +4,7 @@ using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp +namespace Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.AspNetCoreWebApp { public class Program { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/Startup.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/Startup.cs similarity index 94% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/Startup.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/Startup.cs index df85368382feb..789a2f22e7128 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/Startup.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/Startup.cs @@ -7,7 +7,7 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp +namespace Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.AspNetCoreWebApp { public class Startup { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/appsettings.Development.json b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/appsettings.Development.json similarity index 100% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/appsettings.Development.json rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/appsettings.Development.json diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/appsettings.json b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/appsettings.json similarity index 100% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.AspNetCoreWebApp/appsettings.json rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests.AspNetCoreWebApp/appsettings.json diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/Integration.Tests.csproj b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.csproj similarity index 78% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/Integration.Tests.csproj rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.csproj index a1a5820943d91..7990144c5c7b8 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/Integration.Tests.csproj +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.csproj @@ -2,8 +2,6 @@ $(RequiredTargetFrameworks) - Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests - Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests @@ -34,8 +32,8 @@ - - + + diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/BasicTests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/BasicTests.cs similarity index 94% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/BasicTests.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/BasicTests.cs index 4d490aa5b5c31..8dfe649ddcaff 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/BasicTests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/BasicTests.cs @@ -9,7 +9,7 @@ using Xunit; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests +namespace Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests { /// /// These tests are to verify that the IntegrationTests work (i.e. This project can communicate with the project). diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/OpenTelemetryTests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/OpenTelemetryTests.cs similarity index 93% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/OpenTelemetryTests.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/OpenTelemetryTests.cs index b61d98a1e1851..be89fdce411ae 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/OpenTelemetryTests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/OpenTelemetryTests.cs @@ -5,13 +5,12 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Azure.Core.TestFramework; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.TestFramework; +using Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.TestFramework; using Xunit; using Xunit.Abstractions; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests +namespace Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests { public class OpenTelemetryTests : IClassFixture> { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/Properties/AssemblyInfo.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/Properties/AssemblyInfo.cs similarity index 100% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/Properties/AssemblyInfo.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/Properties/AssemblyInfo.cs diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TelemetryItemTests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TelemetryItemTests.cs similarity index 97% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TelemetryItemTests.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TelemetryItemTests.cs index 6f5b1bae6a61e..f011831140dc1 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TelemetryItemTests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TelemetryItemTests.cs @@ -8,8 +8,8 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.TestFramework; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.TestFramework; +using Azure.Monitor.OpenTelemetry.Exporter.Models; using OpenTelemetry; using OpenTelemetry.Logs; @@ -17,7 +17,7 @@ using Xunit; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests +namespace Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests { /// /// The purpose of these tests are to verify various types of Telemetry. diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TestFramework/ExpectedTelemetryItemValues.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/ExpectedTelemetryItemValues.cs similarity index 74% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TestFramework/ExpectedTelemetryItemValues.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/ExpectedTelemetryItemValues.cs index 235c77874c6d1..d0b5240257d2c 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TestFramework/ExpectedTelemetryItemValues.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/ExpectedTelemetryItemValues.cs @@ -3,9 +3,9 @@ using System.Collections.Generic; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Models; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.TestFramework +namespace Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.TestFramework { internal struct ExpectedTelemetryItemValues { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TestFramework/MockTransmitter.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/MockTransmitter.cs similarity index 84% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TestFramework/MockTransmitter.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/MockTransmitter.cs index 972f74831659c..915f06489d403 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TestFramework/MockTransmitter.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/MockTransmitter.cs @@ -7,9 +7,9 @@ using System.Threading; using System.Threading.Tasks; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Models; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.TestFramework +namespace Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.TestFramework { internal class MockTransmitter : ITransmitter { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TestFramework/OpenTelemetryWebApplicationFactory.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/OpenTelemetryWebApplicationFactory.cs similarity index 93% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TestFramework/OpenTelemetryWebApplicationFactory.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/OpenTelemetryWebApplicationFactory.cs index 0e97024192d2e..a841c3e7c070b 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TestFramework/OpenTelemetryWebApplicationFactory.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/OpenTelemetryWebApplicationFactory.cs @@ -7,12 +7,12 @@ using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.Extensions.DependencyInjection; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Models; using OpenTelemetry.Trace; using OpenTelemetry; using System.Diagnostics; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.TestFramework +namespace Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.TestFramework { /// /// This class implements and will configure the for OpenTelemetry and the . diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TestFramework/VerifyTelemetryItem.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/VerifyTelemetryItem.cs similarity index 94% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TestFramework/VerifyTelemetryItem.cs rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/VerifyTelemetryItem.cs index 2e485ac75aac9..03b915dfbd20a 100644 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/TestFramework/VerifyTelemetryItem.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/TestFramework/VerifyTelemetryItem.cs @@ -4,11 +4,11 @@ using System; using System.Diagnostics; -using Microsoft.OpenTelemetry.Exporter.AzureMonitor.Models; +using Azure.Monitor.OpenTelemetry.Exporter.Models; using Xunit; -namespace Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests.TestFramework +namespace Azure.Monitor.OpenTelemetry.Exporter.Integration.Tests.TestFramework { internal static class VerifyTelemetryItem { diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/xunit.runner.json b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/xunit.runner.json similarity index 100% rename from sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/tests/Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests/xunit.runner.json rename to sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Integration.Tests/xunit.runner.json diff --git a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Properties/AssemblyInfo.cs b/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Properties/AssemblyInfo.cs deleted file mode 100644 index ee131b280b668..0000000000000 --- a/sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Runtime.CompilerServices; - -[assembly: InternalsVisibleTo("Microsoft.OpenTelemetry.Exporter.AzureMonitor.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")] -[assembly: InternalsVisibleTo("Microsoft.OpenTelemetry.Exporter.AzureMonitor.Integration.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")] -[assembly: InternalsVisibleTo("Microsoft.OpenTelemetry.Exporter.AzureMonitor.Benchmarks, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")] - -// Moq -[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] diff --git a/sdk/monitor/ci.yml b/sdk/monitor/ci.yml index ff042e283eed7..f0347d87d8b63 100644 --- a/sdk/monitor/ci.yml +++ b/sdk/monitor/ci.yml @@ -28,5 +28,5 @@ extends: ServiceDirectory: monitor ArtifactName: packages Artifacts: - - name: Microsoft.OpenTelemetry.Exporter.AzureMonitor + - name: Azure.Monitor.OpenTelemetry.Exporter safeName: MicrosoftOpenTelemetryExporterAzureMonitor