From 2893f91e8f3b91c7e6ecb66d5b5f80f43c5a1a03 Mon Sep 17 00:00:00 2001 From: Sourabh Jain Date: Mon, 4 Sep 2023 17:28:19 +0530 Subject: [PATCH] add docs --- .../src/CosmosClientTelemetryOptions.cs | 11 ++++++++--- Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Microsoft.Azure.Cosmos/src/CosmosClientTelemetryOptions.cs b/Microsoft.Azure.Cosmos/src/CosmosClientTelemetryOptions.cs index b2864e0dfd..2750ae06d4 100644 --- a/Microsoft.Azure.Cosmos/src/CosmosClientTelemetryOptions.cs +++ b/Microsoft.Azure.Cosmos/src/CosmosClientTelemetryOptions.cs @@ -5,12 +5,17 @@ namespace Microsoft.Azure.Cosmos { /// - /// Telemetry Options for Cosmos Client + /// Telemetry Options for Cosmos Client to enable/disable telemetry and distributed tracing along with corresponding threshold values. /// - public class CosmosClientTelemetryOptions +#if PREVIEW + public +#else + internal +#endif + class CosmosClientTelemetryOptions { /// - /// Disable sending telemetry to service, is not applicable to this as of now. + /// Disable sending telemetry to service, is not applicable to this as of now. /// This option will disable sending telemetry to service.even it is opt-in from portal. /// /// By default, it is false diff --git a/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs b/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs index 1eee95db3e..27ddb49888 100644 --- a/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs +++ b/Microsoft.Azure.Cosmos/src/CosmosThresholdOptions.cs @@ -7,7 +7,7 @@ namespace Microsoft.Azure.Cosmos using System; /// - /// Threshold options for telemetry + /// Threshold values for Distributed Tracing /// #if PREVIEW public