共用方式為


CosmosClientTelemetryOptions Class

Definition

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