Uses of Class
com.azure.cosmos.models.CosmosMetricCategory
Packages that use CosmosMetricCategory
Package
Description
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosMetricCategory in com.azure.cosmos.models
Fields in com.azure.cosmos.models declared as CosmosMetricCategoryModifier and TypeFieldDescriptionstatic final CosmosMetricCategoryCosmosMetricCategory.ALLAll metrics enabledstatic final CosmosMetricCategoryCosmosMetricCategory.DEFAULTDefault metrics (categories OperationSummary, RequestSummary, System, DirectChannels and DirectRequests) enabled.static final CosmosMetricCategoryCosmosMetricCategory.DIRECT_ADDRESS_RESOLUTIONSThe metrics in the AddressResolutions category emit metrics for calls made to get replica addresses for a certain physical partition when using direct mode.static final CosmosMetricCategoryCosmosMetricCategory.DIRECT_CHANNELSThe metrics in the DirectChannels category emit metrics allowing to monitor connection handling by service endpoint.static final CosmosMetricCategoryCosmosMetricCategory.DIRECT_ENDPOINTSThe metrics in the DirectEndpoints category emit metrics allowing to monitor state by service endpoint.static final CosmosMetricCategoryCosmosMetricCategory.DIRECT_REQUESTSThe metrics in the DirectRequests category emit metrics allowing to monitor requests by service endpoint (request rate, error rate, latency etc.).static final CosmosMetricCategoryCosmosMetricCategory.LEGACYThe metrics in the Legacy category emit metrics that should not be used anymore and exist only for backwards compatibility reasons.static final CosmosMetricCategoryCosmosMetricCategory.MINIMUMMinimum set of metrics (categories OperationSummary and System) enabled.static final CosmosMetricCategoryCosmosMetricCategory.OPERATION_DETAILSThe metrics in the OperationDetails category emit additional end-to-end metrics (like item count) for SDK operations.static final CosmosMetricCategoryCosmosMetricCategory.OPERATION_SUMMARYThe metrics in the OperationSummary category emit most important end-to-end metrics (like latency, request rate, request charge, request- and response-payload size etc.) for SDK operations These metrics are intended to visualize health state and impact - but alone not sufficient for triaging issues.static final CosmosMetricCategoryCosmosMetricCategory.REQUEST_DETAILSThe metrics in the RequestDetails category emit additional end-to-end metrics (like timeline metrics showing where in the request pipeline latency was spent etc.) for physical network requests - they have tags allowing to distinguish by service endpoint in the backend as well as the client-machine.static final CosmosMetricCategoryCosmosMetricCategory.REQUEST_SUMMARYThe metrics in the RequestSummary category emit most important end-to-end metrics (like latency, request rate, request charge, request- and response-payload size etc.) for physical network requests - they have tags allowing to distinguish by service endpoint in the backend as well as the client-machine.static final CosmosMetricCategoryCosmosMetricCategory.SYSTEMThe metrics in the system category emit metrics that reflect system-wide CPU and memory usage based on the same snapshots taken and logged in request diagnosticsMethods in com.azure.cosmos.models that return CosmosMetricCategoryModifier and TypeMethodDescriptionstatic CosmosMetricCategoryCosmosMetricCategory.fromString(String name) Gets the corresponding metric category state from its string representation.CosmosMetricName.getCategory()Gets the meter category of the meterMethods in com.azure.cosmos.models with parameters of type CosmosMetricCategoryModifier and TypeMethodDescriptionCosmosMicrometerMetricsOptions.addMetricCategories(CosmosMetricCategory... categories) Adds categories of metrics that should be emitted.CosmosMicrometerMetricsOptions.removeMetricCategories(CosmosMetricCategory... categories) Removes categories of metrics that should be emitted.CosmosMicrometerMetricsOptions.setMetricCategories(CosmosMetricCategory... categories) Sets the categories of metrics that should be emitted.