From 7b4a6ff669aae6ebc71ea42087c057c7d0f4b31a Mon Sep 17 00:00:00 2001 From: Sourabh Jain Date: Tue, 19 Mar 2024 07:53:59 +0530 Subject: [PATCH 1/3] Distributed Tracing Dcoumentation : Changed the default value mentioned in comment --- Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs b/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs index 57b7cbf57a..39bc6175f3 100644 --- a/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs +++ b/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs @@ -14,13 +14,13 @@ public class CosmosThresholdOptions /// /// Latency Threshold for non point operations i.e. Query /// - /// 500 ms + /// 3 sec public TimeSpan NonPointOperationLatencyThreshold { get; set; } = TimeSpan.FromSeconds(3); /// /// Latency Threshold for point operations i.e operation other than Query /// - /// 100 ms + /// 1 sec public TimeSpan PointOperationLatencyThreshold { get; set; } = TimeSpan.FromSeconds(1); } } From e8a4e4aa5a5a5fd79f8655a939f0e47362a6c3a5 Mon Sep 17 00:00:00 2001 From: Sourabh Jain Date: Tue, 19 Mar 2024 23:10:39 +0530 Subject: [PATCH 2/3] Update Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs Co-authored-by: Matias Quaranta --- Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs b/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs index 39bc6175f3..93a492b833 100644 --- a/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs +++ b/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs @@ -14,7 +14,7 @@ public class CosmosThresholdOptions /// /// Latency Threshold for non point operations i.e. Query /// - /// 3 sec + /// 3 seconds public TimeSpan NonPointOperationLatencyThreshold { get; set; } = TimeSpan.FromSeconds(3); /// From ebbdb4628cd78e2d73fde93f930cc19d1ba74ff2 Mon Sep 17 00:00:00 2001 From: Sourabh Jain Date: Tue, 19 Mar 2024 23:10:47 +0530 Subject: [PATCH 3/3] Update Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs Co-authored-by: Matias Quaranta --- Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs b/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs index 93a492b833..b4f59d25f0 100644 --- a/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs +++ b/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs @@ -20,7 +20,7 @@ public class CosmosThresholdOptions /// /// Latency Threshold for point operations i.e operation other than Query /// - /// 1 sec + /// 1 second public TimeSpan PointOperationLatencyThreshold { get; set; } = TimeSpan.FromSeconds(1); } }