CosmosClientTelemetryOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Telemetry Options for Cosmos Client to enable/disable telemetry and distributed tracing along with corresponding threshold values.
public class CosmosClientTelemetryOptions
type CosmosClientTelemetryOptions = class
Public Class CosmosClientTelemetryOptions
- Inheritance
-
CosmosClientTelemetryOptions
Constructors
CosmosClientTelemetryOptions() |
Properties
CosmosThresholdOptions |
Threshold values for Distributed Tracing. These values decides whether to generate operation level EventSource with request diagnostics or not. |
DisableDistributedTracing |
This method enable/disable generation of operation level Activity if listener is subscribed to the Source Name "Azure.Cosmos.Operation". |
DisableSendingMetricsToService |
Disable sending telemetry to service, CosmosThresholdOptions is not applicable to this as of now. |
Applies to
Azure SDK for .NET