Skip to content

Commit

Permalink
[AzureMonitorExporter] Refactor storage (Azure#31048)
Browse files Browse the repository at this point in the history
* move storage classes to new directory

* undo
  • Loading branch information
TimothyMothra authored and sofiar-msft committed Dec 7, 2022
1 parent af7b062 commit 543b33b
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Licensed under the MIT License.

using Azure.Monitor.OpenTelemetry.Exporter.Internals;
using Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage;
using OpenTelemetry;
using OpenTelemetry.Trace;
using System;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.

using System;

using Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage;
using OpenTelemetry;
using OpenTelemetry.Logs;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage;
using OpenTelemetry.Metrics;
using System;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

using Azure.Core.Pipeline;
using Azure.Monitor.OpenTelemetry.Exporter.Internals;

using Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage;
using OpenTelemetry;
using OpenTelemetry.Logs;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

using Azure.Core.Pipeline;
using Azure.Monitor.OpenTelemetry.Exporter.Internals;

using Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage;
using OpenTelemetry;
using OpenTelemetry.Metrics;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

using Azure.Core.Pipeline;
using Azure.Monitor.OpenTelemetry.Exporter.Internals;

using Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage;
using OpenTelemetry;

namespace Azure.Monitor.OpenTelemetry.Exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using Azure.Core.Pipeline;
using Azure.Monitor.OpenTelemetry.Exporter.Internals;
using Azure.Monitor.OpenTelemetry.Exporter.Internals.ConnectionString;
using Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage;
using Azure.Monitor.OpenTelemetry.Exporter.Models;

using OpenTelemetry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Diagnostics;
using System.Threading;

namespace Azure.Monitor.OpenTelemetry.Exporter.Internals
namespace Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage
{
internal class AzureMonitorPersistentStorage
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using OpenTelemetry;
using OpenTelemetry.Extensions.PersistentStorage.Abstractions;

namespace Azure.Monitor.OpenTelemetry.Exporter.Internals
namespace Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage
{
internal static class PersistentStorageExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
using System.IO;
using System.Runtime.InteropServices;

using Azure.Monitor.OpenTelemetry.Exporter.Internals;

namespace Azure.Monitor.OpenTelemetry.Exporter
namespace Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage
{
internal static class StorageHelper
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using System.Runtime.CompilerServices;

namespace Azure.Monitor.OpenTelemetry.Exporter
namespace Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage
{
internal class StorageTransmissionEvaluator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using Azure.Core.TestFramework;

using Azure.Monitor.OpenTelemetry.Exporter.Internals;
using Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage;
using Azure.Monitor.OpenTelemetry.Exporter.Models;

using OpenTelemetry.Extensions.PersistentStorage.Abstractions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Licensed under the MIT License.

using System.Reflection;
using Azure.Monitor.OpenTelemetry.Exporter.Internals.PersistentStorage;
using Xunit;

namespace Azure.Monitor.OpenTelemetry.Exporter.Tests
Expand Down

0 comments on commit 543b33b

Please sign in to comment.