CosmosClientTelemetryOptions.IsClientMetricsEnabled Property
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.
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