Uses of Class
com.azure.cosmos.CosmosDiagnosticsThresholds
Packages that use CosmosDiagnosticsThresholds
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 CosmosDiagnosticsThresholds in com.azure.cosmos
Methods in com.azure.cosmos that return CosmosDiagnosticsThresholdsModifier and TypeMethodDescriptionCosmosRequestContext.getDiagnosticsThresholds()
Gets the diagnostics thresholds.CosmosDiagnosticsThresholds.setFailureHandler
(BiPredicate<Integer, Integer> failureHandler) Can be used to customize the logic determining whether the outcome of an operation (based on statusCode + subStatusCode) is considered a failure (and diagnostics will be emitted) or not.CosmosDiagnosticsThresholds.setNonPointOperationLatencyThreshold
(Duration nonPointOperationLatencyThreshold) Can be used to define custom latency thresholds.CosmosDiagnosticsThresholds.setPayloadSizeThreshold
(int bytes) Can be used to define a payload size threshold.CosmosDiagnosticsThresholds.setPointOperationLatencyThreshold
(Duration pointOperationLatencyThreshold) Can be used to define custom latency thresholds.CosmosDiagnosticsThresholds.setRequestChargeThreshold
(float requestChargeThreshold) Can be used to define a custom RU (request charge) threshold. -
Uses of CosmosDiagnosticsThresholds in com.azure.cosmos.models
Methods in com.azure.cosmos.models that return CosmosDiagnosticsThresholdsModifier and TypeMethodDescriptionCosmosBatchRequestOptions.getDiagnosticsThresholds()
Gets the diagnostic thresholds used as an override for a specific operation.CosmosChangeFeedRequestOptions.getDiagnosticsThresholds()
Gets the diagnostic thresholds used as an override for a specific operation.CosmosItemRequestOptions.getDiagnosticsThresholds()
Gets the diagnostic thresholds used as an override for a specific operation.CosmosQueryRequestOptions.getDiagnosticsThresholds()
Gets the diagnostic thresholds used as an override for a specific operation.CosmosReadManyRequestOptions.getDiagnosticsThresholds()
Gets the diagnostic thresholds used as an override for a specific operation.CosmosRequestOptions.getDiagnosticsThresholds()
Gets the diagnostics thresholds.Methods in com.azure.cosmos.models with parameters of type CosmosDiagnosticsThresholdsModifier and TypeMethodDescriptionCosmosClientTelemetryConfig.diagnosticsThresholds
(CosmosDiagnosticsThresholds thresholds) Request diagnostics for operations will be logged if their latency, request charge or payload size exceeds one of the defined thresholds.CosmosBatchRequestOptions.setDiagnosticsThresholds
(CosmosDiagnosticsThresholds operationSpecificThresholds) Allows overriding the diagnostic thresholds for a specific operation.CosmosChangeFeedRequestOptions.setDiagnosticsThresholds
(CosmosDiagnosticsThresholds operationSpecificThresholds) Allows overriding the diagnostic thresholds for a specific operation.CosmosItemRequestOptions.setDiagnosticsThresholds
(CosmosDiagnosticsThresholds operationSpecificThresholds) Allows overriding the diagnostic thresholds for a specific operation.CosmosQueryRequestOptions.setDiagnosticsThresholds
(CosmosDiagnosticsThresholds operationSpecificThresholds) Allows overriding the diagnostic thresholds for a specific operation.CosmosReadManyRequestOptions.setDiagnosticsThresholds
(CosmosDiagnosticsThresholds operationSpecificThresholds) Allows overriding the diagnostic thresholds for a specific operation.CosmosRequestOptions.setDiagnosticsThresholds
(CosmosDiagnosticsThresholds thresholds) Sets the CosmosDiagnosticsThresholds.