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; } } }