Condividi tramite


CosmosClientTelemetryOptions.IsClientMetricsEnabled Property

Definition

Indicates whether client-side metrics collection is enabled or disabled. When set to true, the application will capture and report client metrics such as request counts, latencies, errors, and other key performance indicators. If false, no metrics related to the client will be gathered or reported. <remarks>Metrics data can be published to a monitoring system like Prometheus or Azure Monitor, depending on the configured metrics provider.</remarks>

public bool IsClientMetricsEnabled { get; set; }
member this.IsClientMetricsEnabled : bool with get, set
Public Property IsClientMetricsEnabled As Boolean

Property Value

Applies to