From 2627a3c59ad08402a5d37d4548936ed31abb822a Mon Sep 17 00:00:00 2001 From: Timothy Mothra Date: Tue, 22 Nov 2022 12:43:29 -0800 Subject: [PATCH] [AzureMonitorExporter] cleanup csproj. add missing XML comments (#32544) * cleanup csproj. resolve missing XML comments * Update sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterOptions.cs Co-authored-by: Rajkumar Rangaraj Co-authored-by: Rajkumar Rangaraj --- .../src/Azure.Monitor.OpenTelemetry.Exporter.csproj | 2 +- .../src/AzureMonitorExporterOptions.cs | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Azure.Monitor.OpenTelemetry.Exporter.csproj b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Azure.Monitor.OpenTelemetry.Exporter.csproj index 0777125bab845..8e6fcf7443ce7 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Azure.Monitor.OpenTelemetry.Exporter.csproj +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Azure.Monitor.OpenTelemetry.Exporter.csproj @@ -27,7 +27,7 @@ - $(NoWarn);AZC0001;CS0108;CS1591 + $(NoWarn);AZC0001 diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterOptions.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterOptions.cs index b4f26b97f30f3..5cc88599de8bd 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterOptions.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/AzureMonitorExporterOptions.cs @@ -39,6 +39,9 @@ public AzureMonitorExporterOptions(ServiceVersion version = LatestVersion) this.Version = version; } + /// + /// The versions of Azure Monitor supported by this client library. + /// [SuppressMessage("Naming", "CA1707:Identifiers should not contain underscores", Justification = "This naming format is defined in the Azure SDK Design Guidelines.")] public enum ServiceVersion { @@ -48,8 +51,14 @@ public enum ServiceVersion V2020_09_15_Preview = 1, } + /// + /// Override the default directory for offline storage. + /// public string StorageDirectory { get; set; } + /// + /// Disable offline storage. + /// public bool DisableOfflineStorage { get; set; } } }