Uses of Class
com.azure.cosmos.models.CosmosClientTelemetryConfig
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosClientTelemetryConfig in com.azure.cosmos
Modifier and TypeMethodDescriptionCosmosClientBuilder.clientTelemetryConfig
(CosmosClientTelemetryConfig telemetryConfig) Returns the client telemetry config instance for this builder -
Uses of CosmosClientTelemetryConfig in com.azure.cosmos.models
Modifier and TypeMethodDescriptionCosmosClientTelemetryConfig.clientCorrelationId
(String clientCorrelationId) Sets the client correlationId used for tags in metrics.CosmosClientTelemetryConfig.diagnosticsHandler
(CosmosDiagnosticsHandler handler) Injects a custom diagnostics handlerCosmosClientTelemetryConfig.diagnosticsThresholds
(CosmosDiagnosticsThresholds thresholds) Request diagnostics for operations will be logged if their latency, request charge or payload size exceeds one of the defined thresholds.CosmosClientTelemetryConfig.enableTransportLevelTracing()
Enables transport level tracing.CosmosClientTelemetryConfig.metricsOptions
(com.azure.core.util.MetricsOptions clientMetricsOptions) Sets MetricsOptions to be used to emit client metricsCosmosClientTelemetryConfig.metricTagNames
(String... tagNames) Deprecated.CosmosClientTelemetryConfig.sampleDiagnostics
(double samplingRate) Can be used to enable sampling for capturing all diagnostics to reduce/disable any client resource overhead (CPU and/or memory).CosmosClientTelemetryConfig.sendClientTelemetryToService
(boolean enabled) Enables or disables sending Cosmos DB client telemetry to the Azure Cosmos DB ServiceCosmosClientTelemetryConfig.showQueryMode
(ShowQueryMode showQueryMode) Enables printing query in db.statement attribute and diagnostic logs.CosmosClientTelemetryConfig.tracingOptions
(com.azure.core.util.TracingOptions tracingOptions) SetsTracingOptions
that are applied to each tracing reported by the client.
CosmosMicrometerMetricsOptions.configureDefaultTagNames(CosmosMetricTagName...)
orCosmosMicrometerMeterOptions.suppressTagNames(CosmosMetricTagName...)
instead.