diff --git a/Directory.Build.props b/Directory.Build.props index 3c2411b3d9..493368e407 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,7 +4,7 @@ 3.20.1 3.20.1 preview - 3.21.0 + 3.21.1 1.0.0-previewV16 1.1.0-preview3 $([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../')) diff --git a/Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj b/Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj index 8737300fd5..70b50dd46a 100644 --- a/Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj +++ b/Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj @@ -127,7 +127,7 @@ - + diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/ClientTelemetryHelper.cs b/Microsoft.Azure.Cosmos/src/Telemetry/ClientTelemetryHelper.cs index 958426b185..2fc910bb6a 100644 --- a/Microsoft.Azure.Cosmos/src/Telemetry/ClientTelemetryHelper.cs +++ b/Microsoft.Azure.Cosmos/src/Telemetry/ClientTelemetryHelper.cs @@ -115,7 +115,7 @@ internal static (SystemInfo cpuInfo, SystemInfo memoryInfo) RecordSystemUsage(Sy cpuHistogram.RecordValue((long)(cpuValue * ClientTelemetryOptions.HistogramPrecisionFactor)); } - long? memoryLoad = systemUsage.MemoryUsage; + long? memoryLoad = systemUsage.MemoryAvailable; if (memoryLoad.HasValue) { memoryHistogram.RecordValue(memoryLoad.Value); diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DirectContractTests.cs b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DirectContractTests.cs index 968ecc6823..d8e436b5ad 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DirectContractTests.cs +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Contracts/DirectContractTests.cs @@ -101,7 +101,7 @@ public void ProjectPackageDependenciesTest() { "System.Numerics.Vectors", new Version(4, 5, 0) }, { "Newtonsoft.Json", new Version(10, 0, 2) }, { "Microsoft.Bcl.AsyncInterfaces", new Version(1, 0, 0) }, - { "System.Configuration.ConfigurationManager", new Version(4, 5, 0) }, + { "System.Configuration.ConfigurationManager", new Version(4, 7, 0) }, { "System.Memory", new Version(4, 5, 4) }, { "System.Buffers", new Version(4, 5, 1) }, { "System.Runtime.CompilerServices.Unsafe", new Version(4, 5, 3) },