Uses of Class
com.azure.cosmos.models.CosmosClientTelemetryConfig
Packages that use 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
Methods in com.azure.cosmos with parameters of type CosmosClientTelemetryConfigModifier and TypeMethodDescriptionCosmosClientBuilder.clientTelemetryConfig(CosmosClientTelemetryConfig telemetryConfig) Returns the client telemetry config instance for this builder -
Uses of CosmosClientTelemetryConfig in com.azure.cosmos.models
Methods in com.azure.cosmos.models that return CosmosClientTelemetryConfigModifier 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) Deprecated.is is not possible to send the telemetry to the service.CosmosClientTelemetryConfig.showQueryMode(ShowQueryMode showQueryMode) Enables printing query in db.statement attribute and diagnostic logs.CosmosClientTelemetryConfig.tracingOptions(com.azure.core.util.TracingOptions tracingOptions) SetsTracingOptionsthat are applied to each tracing reported by the client.
CosmosMicrometerMetricsOptions.configureDefaultTagNames(CosmosMetricTagName...)orCosmosMicrometerMeterOptions.suppressTagNames(CosmosMetricTagName...)instead.